Angular-NgRx-GettingStarted icon indicating copy to clipboard operation
Angular-NgRx-GettingStarted copied to clipboard

APM-Demo5 npm install fails

Open liammclennan opened this issue 4 years ago • 2 comments
trafficstars

npm install for APM-Demo5 failed on a fresh clone with an error about conflicting dependencies. I used npm 7.15.1.

yarn install worked.

liammclennan avatar Aug 19 '21 10:08 liammclennan

Thanks for the heads up on this.

I sure love GitHub codespaces :) I spun up 2 new code spaces as per the images below. Using the latest version of npm 7+ fails due to dependency versions in the first image but npm version 6 works in the second image.

It is simple to work around by running npm i --force which I think is acceptable for a demo project in the short term and suggested by the error. We will update this in the next course revision and tagged as such.

Snag_bc21dc8 Snag_bc5e465

duncanhunter avatar Aug 23 '21 22:08 duncanhunter

@DeborahK I am not sure if we want to update the dependencies or put a warning on the readme.

What are your thoughts on this?

duncanhunter avatar Aug 23 '21 22:08 duncanhunter