【问题标题】:heroku push install errorheroku推送安装错误
【发布时间】:2018-07-22 19:50:08
【问题描述】:

当我使用命令时

heroku plugins:install http://github.com/ddollar/heroku-push

我无法安装并出现错误

 (node:9472) [MODULE_NOT_FOUND] @oclif/plugin-legacy: Plugin push: Error: Cannot find module 'C:\Users\rukid\AppData\Local\heroku\node_modules\push\index.js'
C:\Users\rukid\AppData\Local\heroku\node_modules\push
(node:9472) SyntaxError Plugin: heroku: C:\Users\rukid\AppData\Local\heroku\config.json: Unexpected string in JSON at position 72
module: @oclif/config@1.6.33
task: runHook prerun
plugin: heroku
root: C:\Program Files\heroku\client
See more details with DEBUG=*
Installing plugin http://github.com/ddollar/heroku-push... !
Error: no name in C:/Users/rukid/AppData/Local/heroku/package.json
    at Plugin.load (C:/Program Files/heroku/client/node_modules/@oclif/config/lib/plugin.js:33:19)

错误:没有名字~ 在 Plugin.load ~ 有什么问题?

【问题讨论】:

    标签: heroku plugins installation push


    【解决方案1】:

    该插件不适用于最新的 Heroku CLI

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-05-13
      • 2018-09-25
      • 2011-12-13
      • 2016-05-09
      • 2020-01-01
      • 2011-11-09
      相关资源
      最近更新 更多