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

ngrx/store not getting installed

Open asifrepo1 opened this issue 2 years ago • 3 comments
trafficstars

@DeborahK Using Mac 10.14 and Node LTS but not able to install ngrx/store. Gettng the below errors in screenshot. https://asifrepo1-legendary-acorn-4wwqxpp5grx3j4rg.github.dev Please refer to the repo if you would like to help people who want to learn NgRX using your course. Deleted Node Modules and Package-lock.JSON still the same issue Screenshot 2023-04-20 at 00 42 07

asifrepo1 avatar Apr 19 '23 19:04 asifrepo1

Hi

Thanks for taking the time to make an issue.

I have spun up a new code space in GitHub and ran an npm install on both APM-Demo0 and APM-Demo1 projects, and it worked fine. See image.

Have you tried making a new clone and, before adding any packages or changes, running npm install?

image

duncanhunter avatar Apr 19 '23 21:04 duncanhunter

Hello , Thanks for the time, upto npm i it's fine. But if you try adding store and run the problem start. Have you tried adding store and run then? @duncanhunter @DeborahK

asifrepo1 avatar Apr 20 '23 11:04 asifrepo1

Ok that makes more sense thanks.

You will need to use the older version similar to the angular version in these demos. See image of me trying both ways.

Try

npm install @ngrx/[email protected]

image

duncanhunter avatar Apr 22 '23 00:04 duncanhunter