react-php-v8js icon indicating copy to clipboard operation
react-php-v8js copied to clipboard

I found some error when "npm run make"

Open zupaazhai opened this issue 9 years ago • 2 comments

0 info it worked if it ends with ok 1 verbose cli [ 'C:\Program Files\nodejs\node.exe', 1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js', 1 verbose cli 'run', 1 verbose cli 'make' ] 2 info using [email protected] 3 info using [email protected] 4 verbose run-script [ 'premake', 'make', 'postmake' ] 5 info premake [email protected] 6 info make [email protected] 7 verbose unsafe-perm in lifecycle true 8 info [email protected] Failed to exec make script 9 verbose stack Error: [email protected] make: npm run make-dev && npm run make-min && npm run make-table 9 verbose stack Exit status 1 9 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:213:16) 9 verbose stack at EventEmitter.emit (events.js:110:17) 9 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14) 9 verbose stack at ChildProcess.emit (events.js:110:17) 9 verbose stack at maybeClose (child_process.js:1015:16) 9 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1087:5) 10 verbose pkgid [email protected] 11 verbose cwd C:\Users\supachai.w\Desktop\react\react-php-v8js\example 12 error Windows_NT 6.3.9600 13 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "make" 14 error node v0.12.5 15 error npm v2.11.2 16 error code ELIFECYCLE 17 error [email protected] make: npm run make-dev && npm run make-min && npm run make-table 17 error Exit status 1 18 error Failed at the [email protected] make script 'npm run make-dev && npm run make-min && npm run make-table'. 18 error This is most likely a problem with the react-php-v8js package, 18 error not with npm itself. 18 error Tell the author that this fails on your system: 18 error npm run make-dev && npm run make-min && npm run make-table 18 error You can get their info via: 18 error npm owner ls react-php-v8js 18 error There is likely additional logging output above. 19 verbose exit [ 1, true ]

How do I solve this issue, Thank.

zupaazhai avatar May 03 '16 10:05 zupaazhai

Looks like you're running on Windows and I can't remember if that supports the && in commands so you might just need to run each step individually. Though also each of those is using Unixy things so they might not work either. You can try to convert these commands to something that will work on Windows: https://github.com/reactjs/react-php-v8js/blob/master/example/package.json#L6-L9

FWIW, this project is not actively maintained so you'll be on your own to work that out, sorry.

zpao avatar May 03 '16 18:05 zpao

I had a similar error, and mine was caused by a small syntax error in my JSX file.

giancarlo88 avatar Sep 09 '16 16:09 giancarlo88