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

Feature req: Add more info avout target env to Transforming errors #975

Comments

@capaj
Copy link

capaj commented Mar 15, 2021

Currently I am using Vite 2.0.5 which uses esbuid 0.8.57

npx vite build
vite v2.0.5 building for production...
✓ 698 modules transformed.
error during build:
Error: Transform failed with 1 error:
assets/vendor.51812f80.js:12726:8: error: Transforming for-await loops to the configured target environment is not supported yet
    at failureErrorWithLog (/home/capaj/oss/vite-lingui-poc/node_modules/esbuild/lib/main.js:1160:15)
    at /home/capaj/oss/vite-lingui-poc/node_modules/esbuild/lib/main.js:1026:33
    at /home/capaj/oss/vite-lingui-poc/node_modules/esbuild/lib/main.js:542:9
    at handleIncomingPacket (/home/capaj/oss/vite-lingui-poc/node_modules/esbuild/lib/main.js:631:9)
    at Socket.readFromStdout (/home/capaj/oss/vite-lingui-poc/node_modules/esbuild/lib/main.js:509:7)
    at Socket.emit (events.js:314:20)
    at addChunk (_stream_readable.js:297:12)
    at readableAddChunk (_stream_readable.js:272:9)
    at Socket.Readable.push (_stream_readable.js:213:10)
    at Pipe.onStreamRead (internal/stream_base_commons.js:188:23)

Would be nice if it printed out the target environment too. This is handled by Vite so I have no idea what it actually is configured to.

@capaj capaj changed the title Feature req: Add more info to Transforming errors Feature req: Add more info avout target env to Transforming errors Mar 15, 2021
@evanw evanw closed this as completed in d943e89 Mar 15, 2021
This was referenced Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment