Im trying to install the WebIO labextension to use in Jupyter Lab. I had read that I must build the WebIO in the Julia REPL, but the log of the build says
> C:\Users\p5b\Anaconda3\npm.CMD pack C:\Users\p5b\.julia\packages\WebIO\9qsL8\packages\webio
> @webio/webio@0.8.3 prepack C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio
> npm run build
> @webio/webio@0.8.3 build C:\Users\p5b\.julia\packages\WebIO\9qsL8\packages\webio
> tsc -p .
error TS5033: Could not write file 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/DomNode.js': EPERM: operation not permitted, open 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/DomNode.js'.
error TS5033: Could not write file 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/Future.js': EPERM: operation not permitted, open 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/Future.js'.
error TS5033: Could not write file 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/IFrame.js': EPERM: operation not permitted, open 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/IFrame.js'.
error TS5033: Could not write file 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/Node.js': EPERM: operation not permitted, open 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/Node.js'.
error TS5033: Could not write file 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/Observable.js': EPERM: operation not permitted, open 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/Observable.js'.
error TS5033: Could not write file 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/ObservableNode.js': EPERM: operation not permitted, open 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/ObservableNode.js'.
error TS5033: Could not write file 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/Scope.js': EPERM: operation not permitted, open 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/Scope.js'.
error TS5033: Could not write file 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/WebIO.js': EPERM: operation not permitted, open 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/WebIO.js'.
error TS5033: Could not write file 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/createNode.js': EPERM: operation not permitted, open 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/createNode.js'.
error TS5033: Could not write file 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/events.js': EPERM: operation not permitted, open 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/events.js'.
error TS5033: Could not write file 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/imports.js': EPERM: operation not permitted, open 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/imports.js'.
error TS5033: Could not write file 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/index.js': EPERM: operation not permitted, open 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/index.js'.
error TS5033: Could not write file 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/message.js': EPERM: operation not permitted, open 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/message.js'.
error TS5033: Could not write file 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/setInnerHTML.js': EPERM: operation not permitted, open 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/setInnerHTML.js'.
error TS5033: Could not write file 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/utils.js': EPERM: operation not permitted, open 'C:/Users/p5b/.julia/packages/WebIO/9qsL8/packages/webio/dist/utils.js'.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @webio/webio@0.8.3 build: `tsc -p .`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @webio/webio@0.8.3 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! C:\Users\p5b\AppData\Roaming\npm-cache\_logs\2019-07-23T09_53_54_047Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @webio/webio@0.8.3 prepack: `npm run build`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @webio/webio@0.8.3 prepack 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! C:\Users\p5b\AppData\Roaming\npm-cache\_logs\2019-07-23T09_53_54_056Z-debug.log
Errored, use --debug for full output:
ValueError: "C:\Users\p5b\.julia\packages\WebIO\9qsL8\packages\webio" is not a valid npm package
[ Info: Copying WebIO nbextension files to C:\Users\p5b\AppData\Roaming\jupyter\nbextensions\webio.
┌ Warning: Unable to install Jupyter Lab extension; make sure jupyter is in your PATH and rebuild WebIO if you want to use Jupyter Lab.
│ exception = failed process: Process(`'C:\Users\p5b\Anaconda3\Scripts\jupyter.exe' labextension link --no-build 'C:\Users\p5b\.julia\packages\WebIO\9qsL8\packages\webio'`, ProcessExited(1)) [1]
└ @ Main C:\Users\p5b\.julia\packages\WebIO\9qsL8\deps\build.jl:9
I have installed node 10.13.0.
I checked that the labextension was not installed with the command jupyter labextension list
, however it seems installed for the classical jupyter notebook because it appears with an “ok” in the list provided by the command jupyter nbextension list
.