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

Build warning: Module "node:crypto" has been externalized for browser compatibility #145

Open
peterbud opened this issue Dec 17, 2023 · 0 comments
Labels

Comments

@peterbud
Copy link

peterbud commented Dec 17, 2023

Environment

Reproduction

Run pnpm build

Describe the bug

Its' a build warning only, and the build code is working fine.

When building the nuxt app I see the following warning:

[plugin:vite:resolve] Module "node:crypto" has been externalized for browser compatibility, imported by ".../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@hebilicious/authjs-nuxt/dist/runtime/lib/server.mjs".

See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.

Additional context

Apparently the build is OK and works, so it's low prio. I'm not even sure: thsi warning might come from the @authjs/core lib?

Logs

No response

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

No branches or pull requests

2 participants