Skip to content

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

@tacone

Description

@tacone

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions