我尝试部署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",
},