Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run any nteract application locally #5704

Open
xinyi-joffre opened this issue Aug 23, 2022 · 0 comments
Open

Cannot run any nteract application locally #5704

xinyi-joffre opened this issue Aug 23, 2022 · 0 comments

Comments

@xinyi-joffre
Copy link

xinyi-joffre commented Aug 23, 2022

Application or Package Used
I tried to set nteract up locally, so that I could contribute fixes for existing issues. It looks like none of the current options for running nteract locally seem to be working.

I tried:

  • nteract desktop
  • nteract web
  • nteract on jupyter

Describe the bug
For nteract desktop, I faced a similar error as issue #5697.

For nteract web, initially I ran into import css errors for jupyter-widgets/controls. After upgrading jupyter-widgets/controls to 5.0.0, there was a different set of errors. When running "npm run dev" for nteract web after that, I ran into issues such as:

  • 404 GET /static/components/MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata.js?V=2.7.9 (127.0.0.1) 4.080000ms referer=http://127.0.0.1:8888/nteract/edit

  • WARNING in ./node_modules/@nteract/actions/src/index.ts 16:0-66
    [1] "export 'Action' was not found in './utils'
    [1] @ ./node_modules/@nteract/core/src/index.ts
    [1] @ ./app/bootstrap.tsx
    [1] @ ./app/index.tsx

  • Website console errors:

    • Invalid hook call. Hooks can only be called inside of the body of a function component.
      • The above error occurred in the <Connect(PureNewNotebookNavigation)> component:
        in Connect(PureNewNotebookNavigation) (created by DirectoryApp)
    • reportUnhandledError.js?e244:10 Uncaught Error: A cross-origin error was thrown. React doesn't have access to the actual error object in development.

For the web application, I got during "npm run build":
ValidationError: Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.

  • configuration.node has an unknown property 'fs'. These properties are valid:
    object { __dirname?, __filename?, global? }
    -> Options object for node compatibility features.

To Reproduce
Try to run any of the applications from a fresh clone of the nteract repository.

Expected behavior
Applications run to enable local development of nteract.

Desktop (please complete the following information):

  • OS: Windows 11 Enterprise: 22000.856
  • Browser: Chrome: 104.0.5112.82

Additional context
node version: v16.17.0
npm version: 8.1.2
yarn version: 1.22.19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant