You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
yup, that would be legit. I advocated @angular/universal in the past but the angular2 namespace works too. Although, the reason why angular2 was used rather than angular@2 was due to being able to run both versions of angular in the same app
@wizardnet972 if the starter doesn't work straight out-of-the-box you should rather put that issue on the repository for that starter.
If you have some other custom configuration it might be better to turn it over to stackoverflow.
Regardless the main universal logic is now merged into the angular core repository and this repository only contains the old logic for angular 2.X and some wrapper modules to more easily use what's in the core of angular.
Activity
robwormald commentedon Feb 5, 2016
worth considering starting to use npm scoped packages here:
@angular2/universalPatrickJS commentedon Feb 5, 2016
yup, that would be legit. I advocated
@angular/universalin the past but theangular2namespace works too. Although, the reason whyangular2was used rather thanangular@2was due to being able to run both versions of angular in the same app[-]remove '-preview' namespace from angular2-universal-preview module[/-][+]production ready[/+][-]production ready[/-][+]Angular 2 Universal production ready[/+]wizardnet972 commentedon Aug 5, 2017
@gdi2290 @robwormald
Yeah? how? I'm getting an error message on the build to production: (when I try to run the example node app - minimal universal)
I'm running npm
build:aotThen:
cd distrun:
node server.jsgo to: http://localhost:8000
I get error message:
Error: Failed to lookup view "../dist/index" in views directory "src"
Try for yourself!
Koslun commentedon Aug 9, 2017
@wizardnet972 if the starter doesn't work straight out-of-the-box you should rather put that issue on the repository for that starter.
If you have some other custom configuration it might be better to turn it over to stackoverflow.
Regardless the main universal logic is now merged into the angular core repository and this repository only contains the old logic for angular 2.X and some wrapper modules to more easily use what's in the core of angular.
MarkPieszak commentedon Aug 9, 2017
@wizardnet972 which starter are you using? The angular/universal-starter has been updated can you try that one and see if everything works for you?
angular-automatic-lock-bot commentedon Sep 4, 2019
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.