Skip to content

docker-web container ignoring package-lock.json causing version conflicts #1685

@FWest98

Description

@FWest98

At the moment, the web module cannot be built since npm install encounters the following issue:

7.788 npm error code ERESOLVE
7.788 npm error ERESOLVE unable to resolve dependency tree
7.788 npm error
7.788 npm error While resolving: @dodona/[email protected]
7.788 npm error Found: [email protected]
7.788 npm error node_modules/vite-plugin-vuetify
7.788 npm error   dev vite-plugin-vuetify@"^1.0.2" from the root project
7.788 npm error
7.788 npm error Could not resolve dependency:
7.788 npm error peerOptional vite-plugin-vuetify@">=2.1.0" from [email protected]
7.788 npm error node_modules/vuetify
7.788 npm error   dev vuetify@"^3.7.3" from the root project
7.788 npm error   peer vuetify@"^3.0.0-beta.4" from [email protected]
7.788 npm error   node_modules/vite-plugin-vuetify
7.788 npm error     dev vite-plugin-vuetify@"^1.0.2" from the root project
7.788 npm error
7.788 npm error Fix the upstream dependency conflict, or retry
7.788 npm error this command with --force or --legacy-peer-deps
7.788 npm error to accept an incorrect (and potentially broken) dependency resolution.
7.788 npm error
7.788 npm error
7.788 npm error For a full report see:
7.788 npm error /root/.npm/_logs/2025-04-14T12_02_54_208Z-eresolve-report.txt

I think it would be nice to also include a package-lock.json file in the repository, so prevent such conflicts from magically arising in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingweb UI

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions