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

vue3+vite3.x+ts项目打包完成后报错 #110

Open
ysg-lijinwen opened this issue Aug 5, 2024 · 1 comment
Open

vue3+vite3.x+ts项目打包完成后报错 #110

ysg-lijinwen opened this issue Aug 5, 2024 · 1 comment

Comments

@ysg-lijinwen
Copy link

rendering chunks (113)...
ERROR [vite:esbuild-transpile] Transform failed with 1 error: 20:40:00
assets/js/virtual_svg-icons-register-f87e325e.js:82032:18: ERROR: Transforming async generator functions to the configured target environment ("chrome64", "edge79", "es2020", "firefox67", "safari11.1" + 2 overrides) is not supported yet

Transforming async generator functions to the configured target environment ("chrome64", "edge79", "es2020", "firefox67", "safari11.1" + 2 overrides) is not supported yet
82030| };
82031|
82032| const readBytes = async function* (iterable, chunkSize, encode) {
| ^
82033| for await (const chunk of iterable) {
82034| yield* streamChunk(ArrayBuffer.isView(chunk) ? chunk : (await encode(String(chunk))), chunkSize);

ERROR error during build: 20:40:00
Error: Transform failed with 1 error:
assets/js/virtual_svg-icons-register-f87e325e.js:82032:18: ERROR: Transforming async generator functions to the configured target environment ("chrome64", "edge79", "es2020", "firefox67", "safari11.1" + 2 overrides) is not supported yet
at failureErrorWithLog (E:\CarleaData\git\project\sjsy\web\node_modules\esbuild\lib\main.js:1575:15)
at E:\CarleaData\git\project\sjsy\web\node_modules\esbuild\lib\main.js:814:29
at responseCallbacks. (E:\CarleaData\git\project\sjsy\web\node_modules\esbuild\lib\main.js:680:9)
at handleIncomingPacket (E:\CarleaData\git\project\sjsy\web\node_modules\esbuild\lib\main.js:735:9)
at Socket.readFromStdout (E:\CarleaData\git\project\sjsy\web\node_modules\esbuild\lib\main.js:656:7)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at Socket.Readable.push (node:internal/streams/readable:228:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)

@335060087
Copy link

解决了吗

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

2 participants