Created
April 22, 2016 14:36
-
-
Save NicolasPelletier/db97e1a4f25b2b3741d6224845cf51da to your computer and use it in GitHub Desktop.
Demonstrate failure to find the 'eslint' executable in ./node_modules/.bin when the source folder has %2f in its name.
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
0 info it worked if it ends with ok | |
1 verbose cli [ '/usr/local/bin/node', | |
1 verbose cli '/usr/local/bin/npm', | |
1 verbose cli 'run', | |
1 verbose cli 'test', | |
1 verbose cli '--verbose' ] | |
2 info using npm@2.15.0 | |
3 info using node@v0.12.13 | |
4 verbose run-script [ 'pretest', 'test', 'posttest' ] | |
5 info pretest GHTest1@1.0.0 | |
6 info test GHTest1@1.0.0 | |
7 verbose unsafe-perm in lifecycle true | |
8 info GHTest1@1.0.0 Failed to exec test script | |
9 verbose stack Error: GHTest1@1.0.0 test: `eslint .` | |
9 verbose stack spawn ENOENT | |
9 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:17:16) | |
9 verbose stack at ChildProcess.emit (events.js:110:17) | |
9 verbose stack at maybeClose (child_process.js:1019:16) | |
9 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1091:5) | |
10 verbose pkgid GHTest1@1.0.0 | |
11 verbose cwd /tmp/GH%2FTest1 | |
12 error Linux 3.19.0-58-generic | |
13 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "test" "--verbose" | |
14 error node v0.12.13 | |
15 error npm v2.15.0 | |
16 error file sh | |
17 error code ELIFECYCLE | |
18 error errno ENOENT | |
19 error syscall spawn | |
20 error GHTest1@1.0.0 test: `eslint .` | |
20 error spawn ENOENT | |
21 error Failed at the GHTest1@1.0.0 test script 'eslint .'. | |
21 error This is most likely a problem with the GHTest1 package, | |
21 error not with npm itself. | |
21 error Tell the author that this fails on your system: | |
21 error eslint . | |
21 error You can get information on how to open an issue for this project with: | |
21 error npm bugs GHTest1 | |
21 error Or if that isn't available, you can get their info via: | |
21 error | |
21 error npm owner ls GHTest1 | |
21 error There is likely additional logging output above. | |
22 verbose exit [ 1, true ] |
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
{ | |
"name": "GHTest1", | |
"version": "1.0.0", | |
"description": "For Demonstrating stuff happening.", | |
"scripts": { | |
"test": "eslint .", | |
"eslint": "./node_modules/eslint/bin/eslint.js ." | |
}, | |
"license": "UNLICENSED", | |
"dependencies": { | |
"eslint": "^2.7.0", | |
"eslint-config-google": "^0.5.0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment