gzuidhof / starboard-notebook

In-browser literate notebooks
Mozilla Public License 2.0
1.24k stars 99 forks source link

npm install fails with 0.15.3 #83

Closed bartbroere closed 2 years ago

bartbroere commented 2 years ago

Bumping starboard-notebook to 0.15.3 currently does not work for me, resulting in the following error. It happens on several machines and build agents, so I think it is not just a problem for me.

➜ npm install starboard-notebook
npm ERR! code 1
npm ERR! path /home/bart/node_modules/starboard-python
npm ERR! command failed
npm ERR! command sh -c node node_modules/patch-package/dist/index.js

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/bart/.npm/_logs/2021-11-29T07_45_43_044Z-debug.log
bartbroere commented 2 years ago

Could this be an issue with the working directory used in development, vs. the working directory used when it's installed as a package. I think it could be looking for /home/bart/node_modules/starboard-python/node_modules/patch-package/dist/index.js instead of the expected /home/bart/node_modules/patch-package/dist/index.js.