[Bug] Can't install
Version
2.5.0
Reproduction link
http://donthaveone.com/
Operating System
ubuntu
Device
PC
Browser & Version
N/a
Steps to reproduce
user@Peanut:/www/roller$ npm install npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/zone.js npm ERR! zone.js@"0.11.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer zone.js@"~0.10.3" from @angular/[email protected] npm ERR! node_modules/@angular/core npm ERR! @angular/core@"10.1.4" from the root project npm ERR! peer @angular/core@">=2.3.1 <12.0.0 || ^11.0.0-next || ^11.1.0-next || ^11.2.0-next" from [email protected] npm ERR! node_modules/codelyzer npm ERR! dev codelyzer@"6.0.1" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR!
What is expected?
A complete build
What is actually happening?
Errors out
Solution
Additional comments
Bought the bundle, but had issues with order. Waiting for CT team to respond. Tried the free version but it won't build: What do i need to do to be able to build cleanly? I've tried cleaning, forcing, etc.
Removed the conflicting packages from package.json. Finally got it to install. Also had to remove agm/core from app modules.
Hi @timmclaurin!
Thank you for working with our products.
Can you please give me the steps that you did so I can test them and see what happens?
Thank you, Rares
- Download src zip
- unzip to folder
- npm install
- This fails with conflicts
- remove conflicted package entries from package.json
- install succeeds
- ng build
- fails because of @agm/core
- remove agm/core and references in modules.ts
- build works and site compiles.
Hi @timmclaurin,
I tested now but I don't receive errors after running npm install.
I use node v14.16.1 and npm v6.14.12.
Can you please tell me what versions are you using?
Thank you, Rares
Angular CLI: 11.2.11 Node: 16.1.0 OS: linux x64
NPM: 7.11.2
Hi @timmclaurin,
I tested now but I don't receive errors after running
npm install.I use
node v14.16.1andnpm v6.14.12.Can you please tell me what versions are you using?
Thank you, Rares
Hi,
the deps are broken with node >= 15 and npm >= 7.x.x. A downgrade to node v14.16.1 and npm v6.14.12 will compile correctly the entire project. At the moment, the only way to work with the latest packages is to follow the instructions wrote by @timmclaurin