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

doesn't work on node.js 18 #3172

Closed
Janpot opened this issue Feb 6, 2024 · 1 comment · Fixed by #3174
Closed

doesn't work on node.js 18 #3172

Janpot opened this issue Feb 6, 2024 · 1 comment · Fixed by #3174
Assignees
Labels
bug 🐛 Something doesn't work scope: toolpad-studio Abbreviated to "studio"

Comments

@Janpot
Copy link
Member

Janpot commented Feb 6, 2024

Steps to reproduce

Steps:

  1. nvm use 18
  2. NODE_ENV=test TOOLPAD_AUTH_SECRET=123 pnpm toolpad dev test/integration/auth/fixture-domain/toolpad --dev
  3. open http://localhost:3000/prod

Current behavior

Toolpad goes into some sort of loop showing failures in the console like:

ReferenceError: crypto is not defined

Expected behavior

2 things:

  • this should never go into a loop, even if there is a backend error
  • Toolpad needs to work on Node.js 18

Context

No response

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: auth node 18

@Janpot Janpot added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Feb 6, 2024
@apedroferreira
Copy link
Member

Thanks, I'll take a look at it asap.

@apedroferreira apedroferreira added bug 🐛 Something doesn't work and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Feb 6, 2024
@oliviertassinari oliviertassinari added the scope: toolpad-studio Abbreviated to "studio" label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work scope: toolpad-studio Abbreviated to "studio"
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants