命令:heroku登录产生错误

时间:2018-08-25 03:02:37

标签: node.js heroku deployment node-modules

我很难理解为什么我在进行heroku登录时仍然不断收到此错误。

$ heroku登录

TypeError:无法读取未定义的属性“ close”     在对象。 (C:/程序文件(x86)/Heroku/client/node_modules/chalk/index.js:72:75)     在对象。 (C:/程序文件(x86)/Heroku/client/node_modules/@heroku-cli/color/lib/color.js:1:17925)

1 个答案:

答案 0 :(得分:0)

我有同样的问题。

我通过开始-添加/删除程序卸载了Heroku

>npm install chalk
>npm install ansi-styles
>npm install heroku

那以某种方式解决了它。