Skip to content

Instantly share code, notes, and snippets.

@okossuth
Created July 25, 2013 16:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save okossuth/6081343 to your computer and use it in GitHub Desktop.
Save okossuth/6081343 to your computer and use it in GitHub Desktop.
Output of /opt/elasticbeanstalk/hooks/appdeploy/pre/50npm.sh > log.txt 2>&1
[root@ip-10-58-181-205 ~]# cat log.txt
No environment variable EB_EVENT_FILE found. Writing message to stderr.
Msg: Failed to run npm install. npm WARN package.json rendr-mobile-employee@0.1.3 No readme data.
npm http GET https://registry.npmjs.org/backbone/1.0.0
npm http GET https://registry.npmjs.org/qs/0.5.1
npm http GET https://registry.npmjs.org/express
npm http GET https://registry.npmjs.org/validator/0.4.21
npm http GET https://registry.npmjs.org/npm
npm http 304 https://registry.npmjs.org/validator/0.4.21
npm http 304 https://registry.npmjs.org/express
npm http 304 https://registry.npmjs.org/qs/0.5.1
npm http 304 https://registry.npmjs.org/backbone/1.0.0
npm http 304 https://registry.npmjs.org/npm
npm WARN package.json backbone@1.0.0 No repository field.
npm http GET https://registry.npmjs.org/connect/2.7.2
npm http GET https://registry.npmjs.org/mkdirp/0.3.3
npm http GET https://registry.npmjs.org/cookie/0.0.5
npm http GET https://registry.npmjs.org/buffer-crc32/0.1.1
npm http GET https://registry.npmjs.org/fresh/0.1.0
npm http GET https://registry.npmjs.org/methods/0.0.1
npm http GET https://registry.npmjs.org/send/0.1.0
npm http GET https://registry.npmjs.org/cookie-signature/0.0.1
npm http GET https://registry.npmjs.org/commander/0.6.1
npm http GET https://registry.npmjs.org/range-parser/0.0.4
npm http 304 https://registry.npmjs.org/fresh/0.1.0
npm WARN package.json fresh@0.1.0 No repository field.
npm http 304 https://registry.npmjs.org/mkdirp/0.3.3
npm http 304 https://registry.npmjs.org/cookie/0.0.5
npm http 304 https://registry.npmjs.org/buffer-crc32/0.1.1
npm http 304 https://registry.npmjs.org/connect/2.7.2
npm http 304 https://registry.npmjs.org/methods/0.0.1
npm WARN package.json methods@0.0.1 No repository field.
npm WARN package.json methods@0.0.1 No readme data.
npm http 304 https://registry.npmjs.org/send/0.1.0
npm WARN package.json send@0.1.0 No repository field.
npm http 304 https://registry.npmjs.org/range-parser/0.0.4
npm WARN package.json range-parser@0.0.4 No repository field.
npm http 304 https://registry.npmjs.org/commander/0.6.1
npm http 304 https://registry.npmjs.org/cookie-signature/0.0.1
npm WARN package.json cookie-signature@0.0.1 No repository field.
npm http GET https://registry.npmjs.org/mime/1.2.6
npm http GET https://registry.npmjs.org/formidable/1.0.11
npm http GET https://registry.npmjs.org/bytes/0.1.0
npm http GET https://registry.npmjs.org/pause/0.0.1
npm http 304 https://registry.npmjs.org/bytes/0.1.0
npm WARN package.json bytes@0.1.0 No repository field.
npm http 304 https://registry.npmjs.org/formidable/1.0.11
npm WARN package.json formidable@1.0.11 No repository field.
npm http 304 https://registry.npmjs.org/pause/0.0.1
npm http 304 https://registry.npmjs.org/mime/1.2.6
npm WARN package.json pause@0.0.1 No repository field.
> rendr@0.4.8-4-custom postinstall /tmp/deployment/application/node_modules/rendr
> node ./scripts/postinstall.js
module.js:340
throw err;
^
Error: Cannot find module 'readable-stream'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object.<anonymous> (/tmp/deployment/application/node_modules/rendr/node_modules/npm/node_modules/sha/index.js:3:48)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
npm ERR! weird error 1
npm ERR! not ok code 0
No environment variable EB_EVENT_FILE found. Writing message to stderr.
Msg: Failed to run npm install. Snapshot logs for more details.
Running npm install: /opt/elasticbeanstalk/node-install/node-v0.8.24-linux-x64/bin/npm
Failed to run npm install. Snapshot logs for more details.
Traceback (most recent call last):
File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 574, in <module>
main()
File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 556, in main
node_version_manager.run_npm_install(options.app_path)
File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 113, in run_npm_install
self.npm_install(bin_path, ebconfig.APP_STAGING_DIR)
File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 127, in npm_install
raise e
subprocess.CalledProcessError: Command '[u'/opt/elasticbeanstalk/node-install/node-v0.8.24-linux-x64/bin/npm', 'install']' returned non-zero exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment