Fabian Juren
Fabian Juren
I'm getting a similar error when running npm run build `remix vite:build`. [[commonjs--resolver] Could not load C:\Websites\MyProject\node_modules\node-stdlib-browser\esm\mock\empty.js/promises: ENOENT: no such file or directory, open 'C:\Coding\Websites\MyProject\node_modules\node-stdlib-browser\esm\mock\empty.js\promises'. Using vite 5.0.0, and it's...
I had SQLite installed and ran into this error. Removing the path environment variable fixed the issue for me, but this doesn't seems like a temp fix.
> > [ERROR] Could not read from file: /Users/aaron/Git/my-app/node_modules/node-stdlib-browser/esm/mock/empty.js/promises Running into this issue as well when migrating Remix to use Vite.