node-pre-gyp:heroku 推送中的权限被拒绝 [英] node-pre-gyp: Permission denied in heroku push

查看:22
本文介绍了node-pre-gyp:heroku 推送中的权限被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将我的 MEAN 堆栈应用程序推送到 heroku,但出现错误.

I'm pushing my MEAN stack app to heroku but an error is arising.

我尝试安装 node-pre-gyp 但错误仍然存​​在.我真的不知道如何解决这个问题.

I have tried to install node-pre-gyp but the error still there. I really dont know how to fix this.

推荐答案

Remove node_modules folder in your root folder rm -rf node_modules 因为heroku 会安装所有您的依赖项,我希望这会奏效

Remove node_modules folder in your root folder rm -rf node_modules beacuse heroku will install all your dependencies, I hope this will work

这篇关于node-pre-gyp:heroku 推送中的权限被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆