Development Environment
caution
🚨 Only Yarn v3 is supported - npm, pnpm, npm v1... will not work, this is due to JupyterLab requirements.
Create a .yarnrc.yml
file in the root of your project to use node_modules
.
enableImmutableInstalls: false
enableInlineBuilds: false
enableTelemetry: false
httpTimeout: 60000
nodeLinker: node-modules
npmRegistryServer: "https://registry.yarnpkg.com"
# This will fix the build error with @lerna/legacy-package-management
# See https://github.com/lerna/repro/pull/11
packageExtensions:
"@lerna/legacy-package-management@*":
dependencies:
"@lerna/child-process": "*"
"js-yaml": "*"
"rimraf": "*"
peerDependencies:
"nx": "*"
Choose the way you want to develop Jupyter UI:
Once you have applied the steps described in one of the above 2 options, you are ready to develop following the next steps.
# Install the dependencies. This will take some time, be patient. 👍
npm install
# Build the source code. This will also take some time, be also patient. 🙂
npm run build
If you just want to develop the core package @datalayer/jupyter-react
of the repository, go to the sub folder and work there.
cd packages/react
npm run build