ultimatecourses / ngrx-store-effects-app

Project seed app for our NGRX application using Angular, NGRX Store, Effects, Router Store.
https://ultimateangular.com/ngrx-store-effects
532 stars 1.17k forks source link

This FIXES broken npm installs #64

Open bbodine1 opened 1 year ago

bbodine1 commented 1 year ago

This issue has the resolution but it is buried under a ton of logs: https://github.com/ultimatecourses/ngrx-store-effects-app/issues/35

You need to be running node version v10.24.1. I use Volta to switch node versions. NVM is another option.

Supposing you have already tried to run an npm install or yarn install, delete the node_modules folder.

Run: npm install node-sass@latest

This gave me an error attempting to install but corrected the dependency issue with the main package.json

Then run npm i

This should fix the issue. A ton of packages are deprecated but the project runs. Currently anyway... in July of 2023.

asterizk commented 11 months ago

Thank you! This got me up and running (Nov 2023) (I used nvm).

asterizk commented 11 months ago

Actually, not quite; 'npm install node-sass@latest' didn't work for me, but 'npm install node-sass@4.11.0' did (thanks @jordanwilcken -- see here: https://github.com/ultimatecourses/ngrx-store-effects-app/issues/21#issuecomment-459789316 )