New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ionic 5 SSR not working #4773
Labels
Comments
Can anyone help me in this??? |
You must add the "developement" configuration to your angular.json Here is a angular.json for SSR with developement goal set (sorry for the long post, I can't attach a json file) :
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
i have created a new ionic 5 project with angular and added the ssr required plugins as given in the ionic doc. but when i run the project it shows me error
Steps to Reproduce:
create a new project.
and follow the instruction in the url given;
https://ionicframework.com/blog/ssr-with-angular-universal-and-ionic/
Output:
My
ionic info
:Ionic:
Ionic CLI : 6.17.1 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.8.2
@angular-devkit/build-angular : 12.2.8
@angular-devkit/schematics : 12.1.4
@angular/cli : 12.2.8
@ionic/angular-toolkit : 4.0.0
Capacitor:
Capacitor CLI : 3.2.4
@capacitor/android : not installed
@capacitor/core : 3.2.4
@capacitor/ios : not installed
Utility:
cordova-res : 0.15.3
native-run : 1.4.1
System:
NodeJS : v14.17.6 (/usr/local/bin/node)
npm : 6.14.15
OS : macOS Big Sur
The text was updated successfully, but these errors were encountered: