Skip to content

Instantly share code, notes, and snippets.

@garrettr
Created April 27, 2016 02:38
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 garrettr/11c79bfb2f8bae3173b18511482213ef to your computer and use it in GitHub Desktop.
Save garrettr/11c79bfb2f8bae3173b18511482213ef to your computer and use it in GitHub Desktop.
SecretShare: npm run lint
➜ secretshare git:(master) npm run lint
> secret-share@0.0.1 lint /Users/garrett/code/freedomofpress/secretshare
> eslint app test *.js
/Users/garrett/code/freedomofpress/secretshare/app/components/ShareInput.js
41:27 warning Unexpected console statement no-console
/Users/garrett/code/freedomofpress/secretshare/app/containers/RecoverScreen.js
40:44 error Missing semicolon semi
/Users/garrett/code/freedomofpress/secretshare/test/components/Split.spec.js
4:19 error 'mount' is defined but never used no-unused-vars
✖ 3 problems (2 errors, 1 warning)
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "lint"
npm ERR! node v5.7.0
npm ERR! npm v3.6.0
npm ERR! code ELIFECYCLE
npm ERR! secret-share@0.0.1 lint: `eslint app test *.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the secret-share@0.0.1 lint script 'eslint app test *.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the secret-share package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! eslint app test *.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs secret-share
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls secret-share
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/garrett/code/freedomofpress/secretshare/npm-debug.log
---------------
| npm-debug.log |
---------------
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'lint' ]
2 info using npm@3.6.0
3 info using node@v5.7.0
4 verbose run-script [ 'prelint', 'lint', 'postlint' ]
5 info lifecycle secret-share@0.0.1~prelint: secret-share@0.0.1
6 silly lifecycle secret-share@0.0.1~prelint: no script for prelint, continuing
7 info lifecycle secret-share@0.0.1~lint: secret-share@0.0.1
8 verbose lifecycle secret-share@0.0.1~lint: unsafe-perm in lifecycle true
9 verbose lifecycle secret-share@0.0.1~lint: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/garrett/code/freedomofpress/secretshare/node_modules/.bin:/Users/garrett/.rvm/gems/ruby-2.1.2/bin:/Users/garrett/.rvm/gems/ruby-2.1.2@global/bin:/Users/garrett/.rvm/rubies/ruby-2.1.2/bin:/Users/garrett/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/MacGPG2/bin:/Library/TeX/texbin:/Users/garrett/.rvm/bin:/Users/garrett/code/go/bin:/Users/garrett/code/racer/target/release:/Users/garrett/code/depot_tools/:/Users/garrett/anaconda/bin
10 verbose lifecycle secret-share@0.0.1~lint: CWD: /Users/garrett/code/freedomofpress/secretshare
11 silly lifecycle secret-share@0.0.1~lint: Args: [ '-c', 'eslint app test *.js' ]
12 silly lifecycle secret-share@0.0.1~lint: Returned: code: 1 signal: null
13 info lifecycle secret-share@0.0.1~lint: Failed to exec lint script
14 verbose stack Error: secret-share@0.0.1 lint: `eslint app test *.js`
14 verbose stack Exit status 1
14 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:232:16)
14 verbose stack at emitTwo (events.js:100:13)
14 verbose stack at EventEmitter.emit (events.js:185:7)
14 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
14 verbose stack at emitTwo (events.js:100:13)
14 verbose stack at ChildProcess.emit (events.js:185:7)
14 verbose stack at maybeClose (internal/child_process.js:827:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
15 verbose pkgid secret-share@0.0.1
16 verbose cwd /Users/garrett/code/freedomofpress/secretshare
17 error Darwin 14.5.0
18 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "lint"
19 error node v5.7.0
20 error npm v3.6.0
21 error code ELIFECYCLE
22 error secret-share@0.0.1 lint: `eslint app test *.js`
22 error Exit status 1
23 error Failed at the secret-share@0.0.1 lint script 'eslint app test *.js'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the secret-share package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error eslint app test *.js
23 error You can get information on how to open an issue for this project with:
23 error npm bugs secret-share
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls secret-share
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment