angular / universal

Server-side rendering and Prerendering for Angular
MIT License
4.04k stars 483 forks source link

Will not install properly #857

Closed nigel-dewar closed 6 years ago

nigel-dewar commented 6 years ago

Following instructions found here https://universal.angular.io/quickstart/ I followed them exactly.

Install fails at this stage here: typings install node express body-parser serve-static express-serve-static-core mime --ambient

image

System Windows 10 Pro x64 Node version 8.9.1 NPM v 5.5.1

Node-Gyp etc all installed well, and I got the angular starter working fine https://github.com/gdi2290/angular-starter and ran it.

The issue is with typings install node express body-parser serve-static express-serve-static-core mime --ambient

rsquared86 commented 6 years ago

looks like typings is deprecated https://github.com/typings/typings

i changed the command to:

npm install node express body-parser serve-static express-serve-static-core mime --global

it installed these packages:

body-parser express mime serve-static node express-serve-static-core

so hopefully that works.

nigel-dewar commented 6 years ago

Thank you very much . I will try this.

nigel-dewar commented 6 years ago

Your advice worked,

However, when trying to run the project the server bugged out

I lost patience, and just found this https://github.com/angular/universal-starter

Which works fine.

Cheers

angular-automatic-lock-bot[bot] commented 5 years ago

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.