angular / angularfire

Angular + Firebase = ❤️
https://firebaseopensource.com/projects/angular/angularfire2
MIT License
7.67k stars 2.19k forks source link

Cannot get started with Universal 'Getting Started' Documentation #2718

Closed Marcusg62 closed 3 years ago

Marcusg62 commented 3 years ago

Version info

Angular: Angular CLI: 11.0.4

Firebase: 8.4.3

AngularFire: 6.1.4 Other (e.g. Ionic/Cordova, Node, browser, operating system): Node: 12.12.0 OS: darwin x64

How to reproduce these conditions

Failing test unit, Stackblitz demonstrating the problem

Steps to set up and reproduce

I create a new angular project with ng new myProject I add angularFire with ng add @angular/fire Then I follow the documentation under 'universal' ng generate universal --client-project myProject Then I do the dependencies npm install --save-dev @nguniversal/express-engine @nguniversal/module-map-ngfactory-loader express webpack-cli ts-loader ws xhr2 and I get the error:

Screenshots image

Sample data and security rules

Expected behavior

Should not produce npm error...

Actual behavior

Error shown in screenshot.

google-oss-bot commented 3 years ago

This issue does not seem to follow the issue template. Make sure you provide all the required information.

Marcusg62 commented 3 years ago

This issue does not seem to follow the issue template. Make sure you provide all the required information.

fixed?

Marcusg62 commented 3 years ago

After reading others' issues, I realized people are using nvm. I downloaded it, used node latest v10 and no more npm issues. @jamesdaniels I feel like this should be explicitly stated somewhere if not already?