DEV Community

Making Games in Rust - Deploying a Bevy App to the Web

Sébastien Belzile on January 13, 2022

This article was first written for Bevy 0.5. The release of Bevy 0.6, on the actual day I wrote this article, made it obsolete. Those b******** kee...
Collapse
 
flavius_the_0th profile image
Flavius • Edited

Why do i get the error:

Uncaught TypeError: Failed to resolve module specifier "env". Relative references must start with either "/", "./", or "../".
Enter fullscreen mode Exit fullscreen mode

in the dev console?
This line is the one thats getting it i think:

// tic-tac-toe.js
import * as __wbg_star0 from 'env';
Enter fullscreen mode Exit fullscreen mode

Any idea how to fix?