-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
Description
In a fresh Conda environment with pip
, python
, and nodejs
installed, I have the tip of the main
branch of Notebook checked out. After running pip install -e ".[dev,test]"
successfully, per the contributor docs, I run jlpm develop
. This produces an error:
jlpm develop
Installing /Users/jweill/git/notebook/notebook/labextension -> @jupyter-notebook/lab-extension
Removing: /opt/miniconda3/envs/notebook-20240523/share/jupyter/labextensions/@jupyter-notebook/lab-extension
Symlinking: /opt/miniconda3/envs/notebook-20240523/share/jupyter/labextensions/@jupyter-notebook/lab-extension -> /Users/jweill/git/notebook/notebook/labextension
node:internal/modules/cjs/loader:1146
throw err;
^
Error: Cannot find module '/Users/jweill/git/notebook/buildutils/lib/develop.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
at Module._load (node:internal/modules/cjs/loader:984:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v20.12.2
There is a buildutils
directory under my local notebook
repository, but there is no lib
directory under it.
Line 30 in 0a66f40
"develop": "jupyter labextension develop . --overwrite && node ./buildutils/lib/develop.js --overwrite", |
The first command in the rvalue above succeeds. The latter does not, because the directory and file do not exist.