-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
System: Ubuntu 18.04. Note that I happen to have an OCaml compiler installed (the BuckleScript version), but this shouldn't make a difference.
All three build commands worked fine, but the two of the three start commands are not working, as you can see below.
start:native
$ npm run start:native
> reprocessing-example@ start:native /home/hanjiexi/reprocessing-example
> ./lib/bs/native/index.native
Fatal error: exception Failure("That operation is not supported")
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! reprocessing-example@ start:native: `./lib/bs/native/index.native`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the reprocessing-example@ start:native 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/hanjiexi/.npm/_logs/2018-10-23T05_49_49_922Z-debug.logReferenced debug log:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'start:native' ]
2 info using npm@6.4.1
3 info using node@v8.12.0
4 verbose run-script [ 'prestart:native', 'start:native', 'poststart:native' ]
5 info lifecycle reprocessing-example@~prestart:native: reprocessing-example@
6 info lifecycle reprocessing-example@~start:native: reprocessing-example@
7 verbose lifecycle reprocessing-example@~start:native: unsafe-perm in lifecycle true
8 verbose lifecycle reprocessing-example@~start:native: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/hanjiexi/reprocessing-example/node_modules/.bin:/home/hanjiexi/.opam/4.02.3+buckle-master/bin:/home/hanjiexi/.cargo/bin:/home/hanjiexi/.yarn/bin:/home/hanjiexi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-9-oracle/bin:/usr/lib/jvm/java-9-oracle/db/bin
9 verbose lifecycle reprocessing-example@~start:native: CWD: /home/hanjiexi/reprocessing-example
10 silly lifecycle reprocessing-example@~start:native: Args: [ '-c', './lib/bs/native/index.native' ]
11 silly lifecycle reprocessing-example@~start:native: Returned: code: 2 signal: null
12 info lifecycle reprocessing-example@~start:native: Failed to exec start:native script
13 verbose stack Error: reprocessing-example@ start:native: `./lib/bs/native/index.native`
13 verbose stack Exit status 2
13 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at EventEmitter.emit (events.js:214:7)
13 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at ChildProcess.emit (events.js:214:7)
13 verbose stack at maybeClose (internal/child_process.js:915:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid reprocessing-example@
15 verbose cwd /home/hanjiexi/reprocessing-example
16 verbose Linux 4.15.0-38-generic
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "start:native"
18 verbose node v8.12.0
19 verbose npm v6.4.1
20 error code ELIFECYCLE
21 error errno 2
22 error reprocessing-example@ start:native: `./lib/bs/native/index.native`
22 error Exit status 2
23 error Failed at the reprocessing-example@ start:native script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
start
npm run start
> reprocessing-example@ start /home/hanjiexi/reprocessing-example
> ./lib/bs/bytecode/indexhot.byte
ninja: no work to do.
bsb running with pid: 13072
Reloading hotloaded module
Successfully changed functions
Stale file detected : /home/hanjiexi/reprocessing-example/.bsb.lock
Retry:
>>>> Start compiling
ninja: no work to do.
>>>> Finish compiling
Fatal error: exception Failure("Unknown error while loading plugin: Failure(\"That operation is not supported\")")
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! reprocessing-example@ start: `./lib/bs/bytecode/indexhot.byte`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the reprocessing-example@ start 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/hanjiexi/.npm/_logs/2018-10-23T05_50_53_388Z-debug.logReferenced debug log:
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'start' ]
2 info using npm@6.4.1
3 info using node@v8.12.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle reprocessing-example@~prestart: reprocessing-example@
6 info lifecycle reprocessing-example@~start: reprocessing-example@
7 verbose lifecycle reprocessing-example@~start: unsafe-perm in lifecycle true
8 verbose lifecycle reprocessing-example@~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/hanjiexi/reprocessing-example/node_modules/.bin:/home/hanjiexi/.opam/4.02.3+buckle-master/bin:/home/hanjiexi/.cargo/bin:/home/hanjiexi/.yarn/bin:/home/hanjiexi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-9-oracle/bin:/usr/lib/jvm/java-9-oracle/db/bin
9 verbose lifecycle reprocessing-example@~start: CWD: /home/hanjiexi/reprocessing-example
10 silly lifecycle reprocessing-example@~start: Args: [ '-c', './lib/bs/bytecode/indexhot.byte' ]
11 silly lifecycle reprocessing-example@~start: Returned: code: 2 signal: null
12 info lifecycle reprocessing-example@~start: Failed to exec start script
13 verbose stack Error: reprocessing-example@ start: `./lib/bs/bytecode/indexhot.byte`
13 verbose stack Exit status 2
13 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at EventEmitter.emit (events.js:214:7)
13 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at ChildProcess.emit (events.js:214:7)
13 verbose stack at maybeClose (internal/child_process.js:915:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid reprocessing-example@
15 verbose cwd /home/hanjiexi/reprocessing-example
16 verbose Linux 4.15.0-38-generic
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "start"
18 verbose node v8.12.0
19 verbose npm v6.4.1
20 error code ELIFECYCLE
21 error errno 2
22 error reprocessing-example@ start: `./lib/bs/bytecode/indexhot.byte`
22 error Exit status 2
23 error Failed at the reprocessing-example@ start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 2, true ]
Appreciate any help!
Metadata
Metadata
Assignees
Labels
No labels