npm安装在eb create节点6.2.2上失败

土卫二

还有谁有相同的问题吗?

1620 verbose unsafe-perm in lifecycle false
1621 info [email protected] Failed to exec install script
1622 verbose stack Error: [email protected] install: `node-gyp rebuild`
1622 verbose stack Exit status 1
1622 verbose stack at EventEmitter.<anonymous> (/opt/elasticbeanstalk/node-install/node-v4.4.6-linux-x64/lib/node_modules/npm/lib/utils/lifecycle.js:217:16)
1622 verbose stack at emitTwo (events.js:87:13)
1622 verbose stack at EventEmitter.emit (events.js:172:7)
1622 verbose stack at ChildProcess.<anonymous> (/opt/elasticbeanstalk/node-install/node-v4.4.6-linux-x64/lib/node_modules/npm/lib/utils/spawn.js:24:14)
1622 verbose stack at emitTwo (events.js:87:13)
1622 verbose stack at ChildProcess.emit (events.js:172:7)
1622 verbose stack at maybeClose (internal/child_process.js:827:16)
1622 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
1623 verbose pkgid [email protected]
1624 verbose cwd /tmp/deployment/application
1625 error Linux 4.4.14-24.50.amzn1.x86_64
1626 error argv "/opt/elasticbeanstalk/node-install/node-v4.4.6-linux-x64/bin/node" "/opt/elasticbeanstalk/node-install/node-v4.4.6-linux-x64/bin/npm" "--production" "install"
1627 error node v4.4.6
1628 error npm v2.15.5
1629 error code ELIFECYCLE
1630 error [email protected] install: `node-gyp rebuild`
1630 error Exit status 1
1631 error Failed at the [email protected] install script 'node-gyp rebuild'.
1631 error This is most likely a problem with the bufferutil package,
1631 error not with npm itself.
1631 error Tell the author that this fails on your system:
1631 error node-gyp rebuild
1631 error You can get information on how to open an issue for this project with:
1631 error npm bugs bufferutil
1631 error Or if that isn't available, you can get their info via:
1631 error
1631 error npm owner ls bufferutil
1631 error There is likely additional logging output above.
1632 verbose exit 1, true 

/var/log/eb-activity.log
Running npm with --production flag
Failed to run npm install. Snapshot logs for more details.
Traceback (most recent call last):
File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 695, in <module>
main()
File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 677, in main
node_version_manager.run_npm_install(options.app_path)
File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 136, in run_npm_install
self.npm_install(bin_path, self.config_manager.get_container_config('app_staging_dir'))
File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 180, in npm_install
raise e
subprocess.CalledProcessError: Command '' returned non-zero exit status 1 (ElasticBeanstalk::ExternalInvocationError)
caused by: + /opt/elasticbeanstalk/containerfiles/ebnode.py --action npm-install

[email protected] install /tmp/deployment/application/node_modules/bufferutil
node-gyp rebuild

gyp ERR! clean error
gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
gyp ERR! stack at Error (native)
gyp ERR! System Linux 4.4.14-24.50.amzn1.x86_64
gyp ERR! command "/opt/elasticbeanstalk/node-install/node-v4.4.6-linux-x64/bin/node" "/opt/elasticbeanstalk/node-install/node-v4.4.6-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/deployment/application/node_modules/bufferutil
gyp ERR! node -v v4.4.6
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok

npm ERR! Linux 4.4.14-24.50.amzn1.x86_64
npm ERR! argv "/opt/elasticbeanstalk/node-install/node-v4.4.6-linux-x64/bin/node" "/opt/elasticbeanstalk/node-install/node-v4.4.6-linux-x64/bin/npm" "--production" "install"
npm ERR! node v4.4.6
npm ERR! npm v2.15.5
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the bufferutil package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs bufferutil
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls bufferutil
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /tmp/deployment/application/npm-debug.log
Running npm install: /opt/elasticbeanstalk/node-install/node-v4.4.6-linux-x64/bin/npm
Setting npm config jobs to 1
npm config jobs set to 1
Running npm with --production flag
Failed to run npm install. Snapshot logs for more details.
Traceback (most recent call last):
File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 695, in <module>
main()
File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 677, in main
node_version_manager.run_npm_install(options.app_path)
File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 136, in run_npm_install
self.npm_install(bin_path, self.config_manager.get_container_config('app_staging_dir'))
File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 180, in npm_install
raise e
subprocess.CalledProcessError: Command '' returned non-zero exit status 1 (Executor::NonZeroExitStatus)
土卫二

基本上,我只是将node_modules /添加到.ebignore,并且可以正常工作。

由于目录权限,Node.js部署在Amazon Elastic Beanstalk上失败

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

NPM安装在GYP MAKE上失败:错误:`make`失败,退出代码:2

来自分类Dev

在Windows上使用NPM安装PhantomJS 2失败

来自分类Dev

在MacOS上安装Psycopg2失败

来自分类Dev

在python2上pip安装失败

来自分类Dev

Vuetable-2无法安装在Laravel 6中

来自分类Dev

在Mongo DB 3.0.7(安装在Amazon EC2上)上,远程和本地身份验证失败

来自分类Dev

NPM节点安装失败

来自分类Dev

EC2实例上的“捆绑安装”失败

来自分类Dev

在WSL2上安装`kali-win-kex`失败

来自分类Dev

使用Homebrew在OS X上安装aria2失败

来自分类Dev

在Ubuntu 12.04上Apache2安装失败

来自分类Dev

在OS X上r2corba安装失败

来自分类Dev

npm安装在[email protected]安装脚本处失败

来自分类Dev

Sublime Text 2安装在哪里

来自分类Dev

Bundler 2未安装在Docker内部

来自分类Dev

Sublime Text 2安装在哪里

来自分类Dev

GRUB2安装失败

来自分类Dev

Angular2构建过程(npm install)在'gulp pubget.dart'上失败

来自分类Dev

S3上的git repo,安装在Ec2上

来自分类Dev

Raspberry Pi 2上的ejabberd 18.03,ejabberdctl由于缺少libtinfo.so.6而失败

来自分类Dev

电源外壳失败。在Windows XP上安装Microsoft SQL Server 2008 R2

来自分类Dev

在RHEL上的虚拟环境中安装psycopg2失败

来自分类Dev

PIP安装失败,在fastlz模块上出现退出代码2 /错误代码1

来自分类Dev

Windows 上的 Corda gradle 安装失败:“无法解析 net.i2p.crypto:eddsa:0.2.0”

来自分类Dev

节点6.11.5上安装couchbase失败

来自分类Dev

Brew安装节点--without-npm失败

来自分类Dev

Ansible安装在RHEL 7上失败

来自分类Dev

节点将不会安装在新项目上

来自分类Dev

jdom2 xPathExpression拉节点失败

Related 相关文章

热门标签

归档