【发布时间】: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