Skip to main content

Development Environment

Choose the way you want to develop Jupyter UI:

  1. With Conda
  2. With VS Code Devcontainers

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

You are now ready to follow the quickstart guide to create your first Jupyter React application.

caution

Only npm is supported - yarn, pnpm... may work, or not...


If you want to use yarn, 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': '*'