Skip to content

Example works but tons of errors in console #5

Open
@c0mm4nd

Description

(base) [c0mm4nd@homelab jupyter-nextjs-example]$ yarn dev
 ⚠ Port 3000 is in use, trying 3001 instead.
 ⚠ Port 3001 is in use, trying 3002 instead.
  ▲ Next.js 14.2.4
  - Local:        http://localhost:3002

 ✓ Starting...
TypeError: fetch failed
    at node:internal/deps/undici/undici:12502:13
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async getVersionInfo (/home/c0mm4nd/jupyter-nextjs-example/node_modules/next/dist/server/dev/hot-reloader-webpack.js:215:21)
    at async Span.traceAsyncFn (/home/c0mm4nd/jupyter-nextjs-example/node_modules/next/dist/trace/trace.js:154:20)
    at async HotReloaderWebpack.start (/home/c0mm4nd/jupyter-nextjs-example/node_modules/next/dist/server/dev/hot-reloader-webpack.js:607:28)
    at async startWatcher (/home/c0mm4nd/jupyter-nextjs-example/node_modules/next/dist/server/lib/router-utils/setup-dev-bundler.js:156:5)
    at async setupDevBundler (/home/c0mm4nd/jupyter-nextjs-example/node_modules/next/dist/server/lib/router-utils/setup-dev-bundler.js:775:20)
    at async Span.traceAsyncFn (/home/c0mm4nd/jupyter-nextjs-example/node_modules/next/dist/trace/trace.js:154:20)
    at async initialize (/home/c0mm4nd/jupyter-nextjs-example/node_modules/next/dist/server/lib/router-server.js:78:30)
    at async Server.<anonymous> (/home/c0mm4nd/jupyter-nextjs-example/node_modules/next/dist/server/lib/start-server.js:249:36) {
  [cause]: AggregateError [ETIMEDOUT]:
      at internalConnectMultiple (node:net:1117:18)
      at internalConnectMultiple (node:net:1185:5)
      at Timeout.internalConnectMultipleTimeout (node:net:1711:5)
      at listOnTimeout (node:internal/timers:575:11)
      at process.processTimers (node:internal/timers:514:7) {
    code: 'ETIMEDOUT',
    [errors]: [
      [Error], [Error], [Error],
      [Error], [Error], [Error],
      [Error], [Error], [Error],
      [Error], [Error], [Error],
      [Error], [Error], [Error],
      [Error], [Error], [Error],
      [Error], [Error], [Error],
      [Error], [Error], [Error]
    ]
  }
}
 ✓ Ready in 4.5s
 ○ Compiling / ...
 ⚠ ./node_modules/@jupyterlab/apputils/node_modules/@jupyterlab/settingregistry/lib/settingregistry.js
Attempted import error: 'parse' is not exported from 'json5' (imported as 'json5').

Import trace for requested module:
./node_modules/@jupyterlab/apputils/node_modules/@jupyterlab/settingregistry/lib/settingregistry.js
./node_modules/@jupyterlab/apputils/node_modules/@jupyterlab/settingregistry/lib/index.js
./node_modules/@jupyterlab/apputils/lib/toolbar/factory.js
./node_modules/@jupyterlab/apputils/lib/toolbar/index.js
./node_modules/@jupyterlab/apputils/lib/index.js
./node_modules/@datalayer/jupyter-react/lib/components/cell/CellAdapter.js
./node_modules/@datalayer/jupyter-react/lib/index.js
./components/NotebookComponent.tsx

./node_modules/@jupyterlab/settingregistry/lib/settingregistry.js
Attempted import error: 'parse' is not exported from 'json5' (imported as 'json5').

Import trace for requested module:
./node_modules/@jupyterlab/settingregistry/lib/settingregistry.js
./node_modules/@jupyterlab/settingregistry/lib/index.js
./node_modules/@jupyterlab/toc-extension/lib/index.js
./node_modules/@datalayer/jupyter-react/lib/components/jupyterlab/JupyterLabAppPlugins.js
./node_modules/@datalayer/jupyter-react/lib/index.js
./components/NotebookComponent.tsx

./node_modules/@jupyterlab/settingregistry/lib/settingregistry.js
Attempted import error: 'parse' is not exported from 'json5' (imported as 'json5').

Import trace for requested module:
./node_modules/@jupyterlab/settingregistry/lib/settingregistry.js
./node_modules/@jupyterlab/settingregistry/lib/index.js
./node_modules/@jupyterlab/toc-extension/lib/index.js
./node_modules/@datalayer/jupyter-react/lib/components/jupyterlab/JupyterLabAppPlugins.js
./node_modules/@datalayer/jupyter-react/lib/index.js
./components/NotebookComponent.tsx

./node_modules/@jupyterlite/settings/lib/settings.js
Attempted import error: 'parse' is not exported from 'json5' (imported as 'json5').

Import trace for requested module:
./node_modules/@jupyterlite/settings/lib/settings.js
./node_modules/@jupyterlite/settings/lib/index.js
./node_modules/@jupyterlite/server-extension/lib/index.js
./node_modules/@datalayer/jupyter-react/lib/jupyter/lite/LiteServer.js
./node_modules/@datalayer/jupyter-react/lib/index.js
./components/NotebookComponent.tsx

./node_modules/glslify-deps/sync.js
Critical dependency: the request of a dependency is an expression

Import trace for requested module:
./node_modules/glslify-deps/sync.js
./node_modules/glslify/index.js
./node_modules/regl-scatter2d/bundle.js
./node_modules/plotly.js/src/traces/scattergl/plot.js
./node_modules/plotly.js/src/traces/scattergl/index.js
./node_modules/plotly.js/lib/scattergl.js
./node_modules/plotly.js/lib/index.js
./node_modules/@datalayer/jupyter-react/lib/jupyter/renderers/plotly/PlotlyRenderer.js
./node_modules/@datalayer/jupyter-react/lib/components/viewer/input/InputViewer.js
./node_modules/@datalayer/jupyter-react/lib/index.js
./components/NotebookComponent.tsx

./node_modules/glslify/transform.js
Critical dependency: the request of a dependency is an expression

Import trace for requested module:
./node_modules/glslify/transform.js
./node_modules/glslify/index.js
./node_modules/regl-scatter2d/bundle.js
./node_modules/plotly.js/src/traces/scattergl/plot.js
./node_modules/plotly.js/src/traces/scattergl/index.js
./node_modules/plotly.js/lib/scattergl.js
./node_modules/plotly.js/lib/index.js
./node_modules/@datalayer/jupyter-react/lib/jupyter/renderers/plotly/PlotlyRenderer.js
./node_modules/@datalayer/jupyter-react/lib/components/viewer/input/InputViewer.js
./node_modules/@datalayer/jupyter-react/lib/index.js
./components/NotebookComponent.tsx
 GET / 200 in 29719ms
 GET / 200 in 38394ms

same to what I said in datalayer/jupyter-ui#252

UI and notebook are working fine in the browser.

image

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions