DeborahK / Angular-NgRx-GettingStarted

Materials for our Pluralsight course: Angular NgRx: Getting Started: http://bit.ly/AngularNgRx.
MIT License
545 stars 724 forks source link

ngrx/store not getting installed #65

Open asifrepo1 opened 1 year ago

asifrepo1 commented 1 year ago

@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

duncanhunter commented 1 year ago

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
asifrepo1 commented 1 year ago

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

duncanhunter commented 1 year ago

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/store@9.1.0

image