Sandlens

Results 4 comments of Sandlens

> A temporary solution that worked for me is to reinstall the node modules in the `.output/folder` directory: > > `cd .output/server && rm -rf node_modules && npm i` That...

I have to run `cd .output/server && rm -rf node_modules && npm i` after each `npx nuxi build`, so no, this is only a workaround and it is not resolved...

> If this is inevitable, here's a little bit cleaner way to do the extra step. You can use `postbuild` and `rimraf` This works very well. I prefer it over...

Any update on this? I'm also having the same issue after migrating from CommonJS to ES Modules