Dev installation instructions incur an error #7692
Labels
status:resolved-locked
Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
Milestone
Description
jlpm run build
on a clean pip install prints out an error on current master (023828a)Reproduce
pip install -ve .
jlpm run build
Gives an error:
This stems from a couple of things:
./packages/json-extension/node_modules/react-json-tree
jupyterlab/buildutils/src/utils.ts
Line 321 in 023828a
Error: Cannot find module '/[snip]/jupyterlab/node_modules/@jupyterlab/json-extension/lib/index.js'. Please verify that the package.json has a valid "main" entry
, so it falls through to the catch. However, it really failed because the json-extension package wasn't built yet, so thelib/
directory didn't exist.This error goes away once the json-extension package is built, i.e., the second time
jlpm run build
is run.I'm not sure why
react-json-tree
is not hoisted to the root node_modules.The text was updated successfully, but these errors were encountered: