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
I am getting following error while building my project:
✘ [ERROR] Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2020", "firefox78", "safari14" + 2 overrides)
✘ [ERROR] This require call is not allowed because the transitive dependency "node_modules/@node-rs/jieba-wasm32-wasi/jieba.wasi-browser.js" contains a top-level await
I am getting following error while building my project:
✘ [ERROR] Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2020", "firefox78", "safari14" + 2 overrides)
✘ [ERROR] This require call is not allowed because the transitive dependency "node_modules/@node-rs/jieba-wasm32-wasi/jieba.wasi-browser.js" contains a top-level await
The file "node_modules/@node-rs/jieba/browser.js" imports the file
"node_modules/@node-rs/jieba-wasm32-wasi/jieba.wasi-browser.js" here:
The top-level await in "node_modules/@node-rs/jieba-wasm32-wasi/jieba.wasi-browser.js" is here:
Following is the environment
vue 3.4.4
vite 4.5.3
node 18.16
Appreciate your help with this issue. Thanks!
The text was updated successfully, but these errors were encountered: