Skip to content

Instantly share code, notes, and snippets.

@jdar
Created July 5, 2017 16:42
Show Gist options
  • Save jdar/d047d5f98a89016445703faae9200482 to your computer and use it in GitHub Desktop.
Save jdar/d047d5f98a89016445703faae9200482 to your computer and use it in GitHub Desktop.
logs: ethdeploy install debug, Ubuntu 16 (Xenial) (note: same error on Sierra OSX)
tulipadmin@tuliplabs:~$ git clone https://github.com/SilentCicero/ethdeploy
Cloning into 'ethdeploy'...
remote: Counting objects: 261, done.
remote: Total 261 (delta 0), reused 0 (delta 0), pack-reused 261
Receiving objects: 100% (261/261), 739.03 KiB | 0 bytes/s, done.
Resolving deltas: 100% (120/120), done.
Checking connectivity... done.
tulipadmin@tuliplabs:~$ cd ethdeploy/example/
0 info it worked if it ends with ok
tulipadmin@tuliplabs:~/ethdeploy/example$ npm install
> fsevents@1.1.2 install /home/tulipadmin/ethdeploy/example/node_modules/fsevents
> node install
> uglifyjs-webpack-plugin@0.4.6 postinstall /home/tulipadmin/ethdeploy/example/node_modules/uglifyjs-webpack-plugin
> node lib/post_install.js
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN ethdeploy-example@1.0.0 No repository field.
added 421 packages in 27.459s
tulipadmin@tuliplabs:~/ethdeploy/example$ npm run example
npm ERR! missing script: example
npm ERR! A complete log of this run can be found in:
npm ERR! /home/tulipadmin/.npm/_logs/2017-07-05T14_21_20_902Z-debug.log
tulipadmin@tuliplabs:~/ethdeploy/example$ npm run build
npm ERR! missing script: build
npm ERR! A complete log of this run can be found in:
npm ERR! /home/tulipadmin/.npm/_logs/2017-07-05T14_21_46_586Z-debug.log
tulipadmin@tuliplabs:~/ethdeploy/example$ vi /home/tulipadmin/.npm/_logs/2017-07-05T14_21_46_586Z-debug.log
tulipadmin@tuliplabs:~/ethdeploy/example$ cat /home/tulipadmin/.npm/_logs/2017-07-05T14_21_46_586Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'run', 'build' ]
2 info using npm@5.0.4
3 info using node@v7.10.0
4 verbose stack Error: missing script: build
4 verbose stack at run (/usr/lib/node_modules/npm/lib/run-script.js:151:19)
4 verbose stack at /usr/lib/node_modules/npm/lib/run-script.js:61:5
4 verbose stack at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:356:5
4 verbose stack at checkBinReferences_ (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:320:45)
4 verbose stack at final (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:354:3)
4 verbose stack at then (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:124:5)
4 verbose stack at ReadFileContext.<anonymous> (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:295:20)
4 verbose stack at ReadFileContext.callback (/usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16)
4 verbose stack at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:359:13)
5 verbose cwd /home/tulipadmin/ethdeploy/example
6 verbose Linux 3.19.0-58-generic
7 verbose argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "build"
8 verbose node v7.10.0
9 verbose npm v5.0.4
10 error missing script: build
11 verbose exit [ 1, true ]
tulipadmin@tuliplabs:~/ethdeploy/example$ cd ..
tulipadmin@tuliplabs:~/ethdeploy$ sudo npm install -g eslint
/usr/bin/eslint -> /usr/lib/node_modules/eslint/bin/eslint.js
+ eslint@4.1.1
added 126 packages in 7.986s
tulipadmin@tuliplabs:~/ethdeploy$ npm run test
> ethdeploy@1.0.6 pretest /home/tulipadmin/ethdeploy
> npm run lint
> ethdeploy@1.0.6 lint /home/tulipadmin/ethdeploy
> npm run lint:js
> ethdeploy@1.0.6 lint:js /home/tulipadmin/ethdeploy
> npm run lint:eslint -- .
> ethdeploy@1.0.6 lint:eslint /home/tulipadmin/ethdeploy
> eslint --ignore-path .gitignore --ignore-pattern **/**.min.js "."
/home/tulipadmin/ethdeploy/example/index.js
3:1 warning Unexpected console statement no-console
/home/tulipadmin/ethdeploy/src/index.js
2:21 error Unable to resolve path to module './lib/index.js' import/no-unresolved
✖ 2 problems (1 error, 1 warning)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ethdeploy@1.0.6 lint:eslint: `eslint --ignore-path .gitignore --ignore-pattern **/**.min.js "."`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ethdeploy@1.0.6 lint:eslint 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! /home/tulipadmin/.npm/_logs/2017-07-05T16_36_52_709Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ethdeploy@1.0.6 lint:js: `npm run lint:eslint -- . `
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ethdeploy@1.0.6 lint:js 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! /home/tulipadmin/.npm/_logs/2017-07-05T16_36_52_749Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ethdeploy@1.0.6 lint: `npm run lint:js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ethdeploy@1.0.6 lint 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! /home/tulipadmin/.npm/_logs/2017-07-05T16_36_52_775Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ethdeploy@1.0.6 pretest: `npm run lint`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ethdeploy@1.0.6 pretest 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! /home/tulipadmin/.npm/_logs/2017-07-05T16_36_52_797Z-debug.log
tulipadmin@tuliplabs:~/ethdeploy$ eslint -v
v4.1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment