Skip to content

Broken Dependancies when building .wgt #48

@JoaoSandrini

Description

@JoaoSandrini

When building the .wdg, the first command

curl -sL https://deb.nodesource.com/setup | sudo bash -

gives back a deprecated warning so i install version 18.x using /setup_18.x as recommended.

it installs correctly then when installing node.js and npm i get dependancy erros:

sudo apt-get install npm
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
npm : Depends: node-agent-base but it is not going to be installed
Depends: node-archy but it is not going to be installed
Depends: node-cacache (>= 17) but it is not going to be installed
Depends: node-chalk (>= 5.1.2-2~) but it is not going to be installed
Depends: node-cli-table3
Depends: node-columnify but it is not going to be installed
Depends: node-cssesc
Depends: node-debug but it is not going to be installed
Depends: node-emoji-regex
Depends: node-gyp but it is not going to be installed
Depends: node-http-proxy-agent but it is not going to be installed
Depends: node-https-proxy-agent but it is not going to be installed
Depends: node-mkdirp but it is not going to be installed
Depends: node-ms but it is not going to be installed
Depends: node-nopt but it is not going to be installed
Depends: node-normalize-package-data but it is not going to be installed
Depends: node-npm-bundled but it is not going to be installed
Depends: node-npm-normalize-package-bin
Depends: node-npm-package-arg (>= 10) but it is not going to be installed
Depends: node-npmlog but it is not going to be installed
Depends: node-postcss-selector-parser
Depends: node-read-package-json but it is not going to be installed
Depends: node-rimraf but it is not going to be installed
Depends: node-semver but it is not going to be installed
Depends: node-string-width but it is not going to be installed
Depends: node-strip-ansi but it is not going to be installed
Depends: node-tar but it is not going to be installed
Depends: node-validate-npm-package-name but it is not going to be installed
Depends: node-which but it is not going to be installed
Depends: nodejs:any
Recommends: node-tap but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

npm install
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: grunt-karma@4.0.0
npm error Found: karma@6.3.2
npm error node_modules/karma
npm error dev karma@"^6.3.2" from the root project
npm error peer karma@">=0.9" from karma-junit-reporter@2.0.1
npm error node_modules/karma-junit-reporter
npm error dev karma-junit-reporter@"^2.0.1" from the root project
npm error
npm error Could not resolve dependency:
npm error peer karma@"^4.0.0 || ^5.0.0" from grunt-karma@4.0.0
npm error node_modules/grunt-karma
npm error dev grunt-karma@"^4.0.0" from the root project
npm error
npm error Conflicting peer dependency: karma@5.2.3
npm error node_modules/karma
npm error peer karma@"^4.0.0 || ^5.0.0" from grunt-karma@4.0.0
npm error node_modules/grunt-karma
npm error dev grunt-karma@"^4.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/joaosnd/.npm/_logs/2024-12-13T15_04_55_870Z-eresolve-report.txt
npm notice
npm notice New minor version of npm available! 10.8.2 -> 10.9.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.9.2
npm notice To update run: npm install -g npm@10.9.2
npm notice
npm error A complete log of this run can be found in: /home/joaosnd/.npm/_logs/2024-12-13T15_04_55_870Z-debug-0.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions