Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NextJs/Webpack doesn't work if source file owner is different than process owner #1

Open
tacone opened this issue May 19, 2021 · 0 comments

Comments

@tacone
Copy link
Owner

tacone commented May 19, 2021

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?)

tacone added a commit that referenced this issue May 19, 2021
Merge branch 'unix-permissions'

In dev mode, NextJs has a issue with file owners, see #1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant