massCode icon indicating copy to clipboard operation
massCode copied to clipboard

[Bug]: NPM dependency tree errors when running `npm install` in the root of the repo.

Open futuremotiondev opened this issue 8 months ago • 0 comments

Describe the bug

I'm trying to build masscode myself to make some stylistic modifications for my own personal use. First thing I did after cloning the repo was run npm install and got this:

npm warn  Unknown project config "node-linker". This will stop working in the next major version of npm
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/eslint
npm error   dev eslint@"^8.5.0" from the root project
npm error   dev eslint@"^8.5.0" from the root project
npm error   dev eslint@"^8.5.0" from the root project
npm error   dev eslint@"^8.5.0" from the root project
npm error   dev eslint@"^8.5.0" from the root project
npm error   dev eslint@"^8.5.0" from the root project
npm error   dev eslint@"^8.5.0" from the root project
npm error   dev eslint@"^8.5.0" from the root project
npm error   dev eslint@"^8.5.0" from the root project
npm error   dev eslint@"^8.5.0" from the root project
npm error   dev eslint@"^8.5.0" from the root project
npm error   dev eslint@"^8.5.0" from the root project
npm error   dev eslint@"^8.5.0" from the root project
npm error   dev eslint@"^8.5.0" from the root project
npm error   dev eslint@"^8.5.0" from the root project
npm error   dev eslint@"^8.5.0" from the root project
npm error   dev eslint@"^8.5.0" from the root project
npm error   dev eslint@"^8.5.0" from the root project
npm error Could not resolve dependency:
npm error peer eslint@"^7.12.1" from @vue/[email protected]
npm error node_modules/@vue/eslint-config-standard
npm error   dev @vue/eslint-config-standard@"^6.1.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 For a full report see:
npm error C:\Users\username\AppData\Local\npm-cache\_logs\2025-05-28T00_53_49_771Z-eresolve-report.txt
npm error A complete log of this run can be found in: C:\Users\username\AppData\Local\npm-cache\_logs\2025-05-28T00_53_49_771Z-debug-0.log

So there are two things to note. The first is this:

Unknown project config "node-linker". This will stop working in the next major version of npm

I admittedly don't know anything about "node-linker". Not sure what to do about this warning.

The second thing is the dependency conflict with [email protected] and /eslint@"^7.12.1" from @vue/[email protected]

Not sure how to proceed correctly. You can see both log files below:

2025-05-28T00_53_49_771Z-eresolve-report.txt 2025-05-28T00_53_49_771Z-debug-0.log

Would greatly appreciate any assistance with this. Thanks!

To reproduce

  1. git clone https://github.com/massCodeIO/massCode.git
  2. cd into ./massCode
  3. run npm install
  4. View errors and warnings.

Version

3.11.0

OS

Windows 10 Pro x64

Validations

futuremotiondev avatar May 28 '25 01:05 futuremotiondev