You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[🐞] ../../npm/node_modules/@panva/hkdf/dist/node/esm/runtime/fallback.js (1:9): "createHmac" is not exported by "__vite-browser-external", imported by "../../npm/node_modules/@panva/hkdf/dist/node/esm/runtime/fallback.js".
#7120
Open
Nefcanto opened this issue
Dec 2, 2024
· 0 comments
I upgraded to Vite 6 and @auth/qwik and this happened:
../../npm/node_modules/@panva/hkdf/dist/node/esm/runtime/fallback.js (1:9): "createHmac" is not exported by "__vite-browser-external", imported by "../../npm/node_modules/@panva/hkdf/dist/node/esm/runtime/fallback.js".
This is the complete error:
x Build failed in 4.57s
error during build:
../../npm/node_modules/@panva/hkdf/dist/node/esm/runtime/fallback.js (1:9): "createHmac" is not exported by "__vite-browser-external", imported by "../../npm/node_modules/@panva/hkdf/dist/node/esm/runtime/fallback.js".
file: /npm/node_modules/@panva/hkdf/dist/node/esm/runtime/fallback.js:1:9
1: import { createHmac } from 'crypto';
^
2: export default (digest, ikm, salt, info, keylen) => {
3: const hashlen = parseInt(digest.substr(3), 10) >> 3 || 20;
at getRollupError (file:///npm/node_modules/rollup/dist/es/shared/parseAst.js:396:41)
at error (file:///npm/node_modules/rollup/dist/es/shared/parseAst.js:392:42)
at Module.error (file:///npm/node_modules/rollup/dist/es/shared/node-entry.js:15593:16)
at Module.traceVariable (file:///npm/node_modules/rollup/dist/es/shared/node-entry.js:16042:29)
at ModuleScope.findVariable (file:///npm/node_modules/rollup/dist/es/shared/node-entry.js:13825:39)
at ReturnValueScope.findVariable (file:///npm/node_modules/rollup/dist/es/shared/node-entry.js:5288:38)
at FunctionBodyScope.findVariable (file:///npm/node_modules/rollup/dist/es/shared/node-entry.js:5288:38)
at Identifier.bind (file:///npm/node_modules/rollup/dist/es/shared/node-entry.js:5071:40)
at CallExpression.bind (file:///npm/node_modules/rollup/dist/es/shared/node-entry.js:2658:23)
at CallExpression.bind (file:///npm/node_modules/rollup/dist/es/shared/node-entry.js:11289:15)
❌ Error: Client build failed: Error: Command failed with exit code 1: npm run build.client
Which component is affected?
Qwik Runtime
Describe the bug
I upgraded to Vite 6 and
@auth/qwik
and this happened:This is the complete error:
Reproduction
No MRE
Steps to reproduce
No response
System Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: