将node.js应用程序部署到heroku时出错:" ELOOP:遇到太多符号链接"

时间:2018-01-05 03:27:53

标签: javascript node.js git heroku

我尝试部署node.js但是在尝试构建依赖项时,构建失败并显示以下消息:

remote: -----> Building dependencies
remote:        Installing node modules (package.json + package-lock)
remote:        npm ERR! path /tmp/build_4e98ad92f183bbb8473f7c8cea6a64dc/node_modules/bootbot
remote:        npm ERR! code ELOOP
remote:        npm ERR! errno -40
remote:        npm ERR! syscall access
remote:        npm ERR! ELOOP: too many symbolic links encountered, access '/tmp/build_4e98ad92f183bbb8473f7c8cea6a64dc/node_modules/bootbot'
remote:        
remote:        npm ERR! A complete log of this run can be found in:
remote:        npm ERR!     /app/.npm/_logs/2018-01-05T02_45_15_488Z-debug.log
remote: 
remote: -----> Build failed

我相信这种情况正在发生,因为我指定了一个依赖项,这是我在GitHub上托管的分支回购,但我交叉检查并且语法似乎正确

"dependencies": {
    "_package_": "https://github.com/_username_/_repo_/tarball/master",
},

0 个答案:

没有答案