WebIO.jl/packages$ npm run build
> root@ build WebIO.jl/packages
> lerna run build
lerna notice cli v3.22.1
lerna info Executing command in 6 packages: "npm run build"
lerna ERR! npm run build exited 2 in '@webio/webio'
lerna ERR! npm run build stdout:
> @webio/webio@0.8.15 build WebIO.jl/packages/webio
> tsc -p . && webpack
src/imports.ts(181,25): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
lerna ERR! npm run build stderr:
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @webio/webio@0.8.15 build: `tsc -p . && webpack`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @webio/webio@0.8.15 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! ~/.npm/_logs/2021-02-27T07_34_19_889Z-debug.log
lerna ERR! npm run build exited 2 in '@webio/webio'
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! root@ build: `lerna run build`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the root@ build 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! ~/.npm/_logs/2021-02-27T07_34_19_929Z-debug.log
Context
Trying to build providers to see if i can update jupiterlab provider to work with jupiterlab 3.
full log output:
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/home/cfhowes/.virtualenvs/continuumml/bin/node',
1 verbose cli '/home/cfhowes/.virtualenvs/continuumml/bin/npm',
1 verbose cli 'run',
1 verbose cli 'build'
1 verbose cli ]
2 info using npm@6.14.11
3 info using node@v14.16.0
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle root@~prebuild: root@
6 info lifecycle root@~build: root@
7 verbose lifecycle root@~build: unsafe-perm in lifecycle true
8 verbose lifecycle root@~build: PATH: /home/cfhowes/.virtualenvs/continuumml/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/cfhowes/clients/continuumml/WebIO.jl/packages/node_modules/.bin:/home/cfhowes/.virtualenvs/continuumml/bin:/home/cfhowes/tools/google-cloud-sdk/bin:/home/cfhowes/.local/bin:/home/cfhowes/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/cfhowes/bin:/home/cfhowes/tools/android-studio/bin:/home/cfhowes/tools/google_appengine
9 verbose lifecycle root@~build: CWD: /home/cfhowes/clients/continuumml/WebIO.jl/packages
10 silly lifecycle root@~build: Args: [ '-c', 'lerna run build' ]
11 silly lifecycle root@~build: Returned: code: 2 signal: null
12 info lifecycle root@~build: Failed to exec build script
13 verbose stack Error: root@ build: `lerna run build`
13 verbose stack Exit status 2
13 verbose stack at EventEmitter.<anonymous> (/home/cfhowes/.virtualenvs/continuumml/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:315:20)
13 verbose stack at ChildProcess.<anonymous> (/home/cfhowes/.virtualenvs/continuumml/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:315:20)
13 verbose stack at maybeClose (internal/child_process.js:1048:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
14 verbose pkgid root@
15 verbose cwd /home/cfhowes/clients/continuumml/WebIO.jl/packages
16 verbose Linux 5.8.0-43-generic
17 verbose argv "/home/cfhowes/.virtualenvs/continuumml/bin/node" "/home/cfhowes/.virtualenvs/continuumml/bin/npm" "run" "build"
18 verbose node v14.16.0
19 verbose npm v6.14.11
20 error code ELIFECYCLE
21 error errno 2
22 error root@ build: `lerna run build`
22 error Exit status 2
23 error Failed at the root@ build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 2, true ]
The bug
I am attempting to follow https://github.com/JuliaGizmos/WebIO.jl/blob/master/packages/README.md#building on master, but
npm run build
fails.Context
Trying to build providers to see if i can update jupiterlab provider to work with jupiterlab 3.
full log output: