Last active
May 29, 2019 11:17
-
-
Save twimnox/03bae4ada346c34b1b704c5641709dfe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
i-0dac36ea7eac38872 Severe 155 days 23 -- -- -- -- -- -- -- -- -- -- 0.24 0.11 0.0 0.0 100 0.0 | |
Application update failed at 2019-05-29T11:15:53Z with exit status 1 and error: Hook /opt/elasticbeanstalk/hooks/appdeploy/pre/50npm.sh failed. | |
+ /opt/elasticbeanstalk/containerfiles/ebnode.py --action npm-install | |
> [email protected] install /tmp/deployment/application/node_modules/node-sass | |
> node scripts/install.js | |
Unable to save binary /tmp/deployment/application/node_modules/node-sass/vendor/linux-x64-64 : { Error: EACCES: permission denied, mkdir '/tmp/deployment/application/node_modules/node-sass/vendor' | |
at Object.mkdirSync (fs.js:750:3) | |
at sync (/tmp/deployment/application/node_modules/mkdirp/index.js:71:13) | |
at Function.sync (/tmp/deployment/application/node_modules/mkdirp/index.js:77:24) | |
at checkAndDownloadBinary (/tmp/deployment/application/node_modules/node-sass/scripts/install.js:114:11) | |
at Object.<anonymous> (/tmp/deployment/application/node_modules/node-sass/scripts/install.js:157:1) | |
at Module._compile (internal/modules/cjs/loader.js:688:30) | |
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10) | |
at Module.load (internal/modules/cjs/loader.js:598:32) | |
at tryModuleLoad (internal/modules/cjs/loader.js:537:12) | |
at Function.Module._load (internal/modules/cjs/loader.js:529:3) | |
errno: -13, | |
syscall: 'mkdir', | |
code: 'EACCES', | |
path: '/tmp/deployment/application/node_modules/node-sass/vendor' } | |
> [email protected] postinstall /tmp/deployment/application/node_modules/core-js | |
> node -e "try { require('./scripts/postinstall'); } catch (e) { /* empty */ }" | |
[96mThank you for using core-js ([94m https://github.com/zloirock/core-js [96m)![0m | |
[96mPlease consider supporting of core-js on Open Collective or Patreon: [0m | |
[96m>[94m https://opencollective.com/core-js [0m | |
[96m>[94m https://www.patreon.com/zloirock [0m | |
[96mAlso, the author of core-js ([94m https://github.com/zloirock [96m) is looking for a good job -)[0m | |
> [email protected] postinstall /tmp/deployment/application/node_modules/uglifyjs-webpack-plugin | |
> node lib/post_install.js | |
> [email protected] postinstall /tmp/deployment/application/node_modules/node-sass | |
> node scripts/build.js | |
Building: /opt/elasticbeanstalk/node-install/node-v10.14.1-linux-x64/bin/node /tmp/deployment/application/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library= | |
gyp info it worked if it ends with ok | |
gyp verb cli [ '/opt/elasticbeanstalk/node-install/node-v10.14.1-linux-x64/bin/node', | |
gyp verb cli '/tmp/deployment/application/node_modules/node-gyp/bin/node-gyp.js', | |
gyp verb cli 'rebuild', | |
gyp verb cli '--verbose', | |
gyp verb cli '--libsass_ext=', | |
gyp verb cli '--libsass_cflags=', | |
gyp verb cli '--libsass_ldflags=', | |
gyp verb cli '--libsass_library=' ] | |
gyp info using [email protected] | |
gyp info using [email protected] | linux | x64 | |
gyp verb command rebuild [] | |
gyp verb command clean [] | |
gyp verb clean removing "build" directory | |
gyp verb command configure [] | |
gyp verb check python checking for Python executable "python2" in the PATH | |
gyp verb `which` failed Error: not found: python2 | |
gyp verb `which` failed at getNotFoundError (/tmp/deployment/application/node_modules/which/which.js:13:12) | |
gyp verb `which` failed at F (/tmp/deployment/application/node_modules/which/which.js:68:19) | |
gyp verb `which` failed at E (/tmp/deployment/application/node_modules/which/which.js:80:29) | |
gyp verb `which` failed at /tmp/deployment/application/node_modules/which/which.js:89:16 | |
gyp verb `which` failed at /tmp/deployment/application/node_modules/isexe/index.js:42:5 | |
gyp verb `which` failed at /tmp/deployment/application/node_modules/isexe/mode.js:8:5 | |
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:154:21) | |
gyp verb `which` failed python2 { Error: not found: python2 | |
gyp verb `which` failed at getNotFoundError (/tmp/deployment/application/node_modules/which/which.js:13:12) | |
gyp verb `which` failed at F (/tmp/deployment/application/node_modules/which/which.js:68:19) | |
gyp verb `which` failed at E (/tmp/deployment/application/node_modules/which/which.js:80:29) | |
gyp verb `which` failed at /tmp/deployment/application/node_modules/which/which.js:89:16 | |
gyp verb `which` failed at /tmp/deployment/application/node_modules/isexe/index.js:42:5 | |
gyp verb `which` failed at /tmp/deployment/application/node_modules/isexe/mode.js:8:5 | |
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:154:21) | |
gyp verb `which` failed stack: | |
gyp verb `which` failed 'Error: not found: python2\n at getNotFoundError (/tmp/deployment/application/node_modules/which/which.js:13:12)\n at F (/tmp/deployment/application/node_modules/which/which.js:68:19)\n at E (/tmp/deployment/application/node_modules/which/which.js:80:29)\n at /tmp/deployment/application/node_modules/which/which.js:89:16\n at /tmp/deployment/application/node_modules/isexe/index.js:42:5\n at /tmp/deployment/application/node_modules/isexe/mode.js:8:5\n at FSReqWrap.oncomplete (fs.js:154:21)', | |
gyp verb `which` failed code: 'ENOENT' } | |
gyp verb check python checking for Python executable "python" in the PATH | |
gyp verb `which` succeeded python /usr/bin/python | |
gyp verb check python version `/usr/bin/python -c "import sys; print "2.7.15 | |
gyp verb check python version .%s.%s" % sys.version_info[:3];"` returned: %j | |
gyp verb get node dir no --target version specified, falling back to host node version: 10.14.1 | |
gyp verb command install [ '10.14.1' ] | |
gyp verb install input version string "10.14.1" | |
gyp verb install installing version: 10.14.1 | |
gyp verb install --ensure was passed, so won't reinstall if already installed | |
gyp verb install version is already installed, need to check "installVersion" | |
gyp verb got "installVersion" 9 | |
gyp verb needs "installVersion" 9 | |
gyp verb install version is good | |
gyp verb get node dir target node version installed: 10.14.1 | |
gyp verb build dir attempting to create "build" dir: /tmp/deployment/application/node_modules/node-sass/build | |
gyp ERR! configure error | |
gyp ERR! stack Error: EACCES: permission denied, mkdir '/tmp/deployment/application/node_modules/node-sass/build' | |
gyp ERR! System Linux 4.14.77-70.82.amzn1.x86_64 | |
gyp ERR! command "/opt/elasticbeanstalk/node-install/node-v10.14.1-linux-x64/bin/node" "/tmp/deployment/application/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" | |
gyp ERR! cwd /tmp/deployment/application/node_modules/node-sass | |
gyp ERR! node -v v10.14.1 | |
gyp ERR! node-gyp -v v3.8.0 | |
gyp ERR! not ok | |
Build failed with error code: 1 | |
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents): | |
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! [email protected] postinstall: `node scripts/build.js` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] postinstall script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /tmp/.npm/_logs/2019-05-29T11_15_53_462Z-debug.log | |
Running npm install: /opt/elasticbeanstalk/node-install/node-v10.14.1-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. | |
UTC 2019/05/29 11:15:53 cannot find application npm debug log at /tmp/deployment/application/npm-debug.log | |
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 '['/opt/elasticbeanstalk/node-install/node-v10.14.1-linux-x64/bin/npm', '--production', 'install']' returned non-zero exit status 1. | |
Incorrect application version "nucleumtrack-frontend-1.3.1" (deployment 23). Expected version "23-05-2019-1.0-1" (deployment 21). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment