Skip to content

Instantly share code, notes, and snippets.

@Halleck45
Created February 2, 2017 15:06
Show Gist options
  • Save Halleck45/a228d02ff9504b3b794ba1284dabe923 to your computer and use it in GitHub Desktop.
Save Halleck45/a228d02ff9504b3b794ba1284dabe923 to your computer and use it in GitHub Desktop.
spark-install-error
04:01:07 /var/www$ cat /var/www/spark/npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'dev' ]
2 info using [email protected]
3 info using [email protected]
4 verbose node symlink /usr/bin/node
5 verbose run-script [ 'predev', 'dev', 'postdev' ]
6 info predev @
7 info dev @
8 verbose unsafe-perm in lifecycle true
9 info @ Failed to exec dev script
10 verbose stack Error: @ dev: `node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
10 verbose stack Exit status 1
10 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:217:16)
10 verbose stack at EventEmitter.emit (events.js:110:17)
10 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:24:14)
10 verbose stack at ChildProcess.emit (events.js:110:17)
10 verbose stack at maybeClose (child_process.js:1019:16)
10 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1091:5)
11 verbose pkgid @
12 verbose cwd /var/www/spark
13 error Linux 4.2.0-42-generic
14 error argv "/usr/bin/node" "/usr/bin/npm" "run" "dev"
15 error node v0.12.15
16 error npm v2.15.1
17 error code ELIFECYCLE
18 error @ dev: `node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
18 error Exit status 1
19 error Failed at the @ dev script 'node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js'.
19 error This is most likely a problem with the package,
19 error not with npm itself.
19 error Tell the author that this fails on your system:
19 error node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
19 error You can get information on how to open an issue for this project with:
19 error npm bugs
19 error Or if that isn't available, you can get their info via:
19 error
19 error npm owner ls
19 error There is likely additional logging output above.
20 verbose exit [ 1, true ]
Would you like to compile your assets? (yes/no) [yes]:
>
Running Build Script...
> @ dev /var/www/spark
> node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
module.js:338
throw err;
^
Error: Cannot find module '/var/www/spark/node_modules/cross-env/bin/cross-env.js'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3
npm ERR! Linux 4.2.0-42-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "dev"
npm ERR! node v0.12.15
npm ERR! npm v2.15.1
npm ERR! code ELIFECYCLE
npm ERR! @ dev: `node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev script 'node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js'.
npm ERR! This is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /var/www/spark/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment