ionic-team / ionic-team/ionic-cli

Ionic 5 SSR not working

未關閉
#4,773 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
triage
主要語言
TypeScript
星號
2k
分支
682
PR 合併指標
30 天內沒有已合併 PR

描述

**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:**

Screenshot 2021-10-07 at 10 36 37 AM

**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

貢獻指南

開啟貢獻指南

研究方向

Reproduce the issue by creating a new Ionic Angular project and following the linked Ionic SSR instructions with the versions listed in the report. Start by comparing the resulting error with the attached screenshot and determine which CLI or Angular SSR step fails; done means the documented setup runs without that error or the incompatibility is clearly identified.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
angular, node.js, typescript
領域
cli
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。