three.js forum
Top-Level Await Error with Vite and Three.js: 'Top-level await is not available in the configured target environment
Questions
Attila_Schroeder
July 16, 2024, 3:44am
3
I remember that issue. Here is my solution. I think it will help you
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
IWebGPU: I get this error message when I try to import webgpu
Questions
webgpu
7
3507
August 21, 2024
Webpack Warning with three.js and topLevelAwait
Questions
webpack
2
263
November 19, 2024
How to import `three/Three.WebGPU.js` when using vite?
Questions
3
845
December 4, 2024
Three js, socket.io and vite
Questions
0
669
January 17, 2023
Why I "import {If} from 'three/nodes'",its error ‘The requested module '/node_modules/.vite/deps/three_nodes.js?v=fdd2419d' does not provide an export named 'If'’
Questions
3
2162
November 9, 2023