NextJs/Webpack doesn't work if source file owner is different than process owner
tacone opened this issue · 0 comments
tacone commented
NextJs fails to properly import files with a owner different than current user, even if the files have the appropriate permissions.
This only concerns development mode, because in production we are building as root.
This only concerns those who try to run the dev mode with a user with a UID different than theirs. By default we use the same UID of the current user so everything runs smooth in the default configuration.
Running the website in dev mode will result in a weird error, trying to log into the container and running the build will reveal the imports are not really working.
Svelte seems unaffected by the issue (perhaps because it uses Vite?)