Skip to content

ionic with angular universal SSR error #14538

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

Closed
Jimmysh opened this issue May 29, 2018 · 3 comments
Closed

ionic with angular universal SSR error #14538

Jimmysh opened this issue May 29, 2018 · 3 comments
Labels

Comments

@Jimmysh
Copy link

Jimmysh commented May 29, 2018

Bug Report

Ionic Info
Run ionic info from a terminal/cmd prompt and paste the output below.

cli packages: (/usr/local/share/.config/yarn/global/node_modules)

   @ionic/cli-utils  : 2.0.0-rc.6
   ionic (Ionic CLI) : 4.0.0-rc.6

System:

   NodeJS : v9.11.1
   npm    : 5.6.0
   OS     : macOS High Sierra

Describe the Bug

Node Express server listening on http://localhost:4000
ERROR TypeError: Cannot read property 'parentNode' of undefined
    at HTMLHeadElement._ensureInsertValid (/Users/jimmy/Desktop/universal-starter-master/dist/server.js:84448:17)
    at HTMLHeadElement.insertBefore (/Users/jimmy/Desktop/universal-starter-master/dist/server.js:84573:12)
    at M (/Users/jimmy/Desktop/universal-starter-master/dist/server.js:132888:17035)
    at defineCustomElements (/Users/jimmy/Desktop/universal-starter-master/dist/server.js:132763:77)
    at Array.<anonymous> (/Users/jimmy/Desktop/universal-starter-master/dist/server.js:132728:85)
    at ApplicationInitStatus.runInitializers (/Users/jimmy/Desktop/universal-starter-master/dist/server.js:7067:50)
    at /Users/jimmy/Desktop/universal-starter-master/dist/server.js:8641:28
    at _callAndReportToErrorHandler (/Users/jimmy/Desktop/universal-starter-master/dist/server.js:8784:22)
    at /Users/jimmy/Desktop/universal-starter-master/dist/server.js:8639:20
    at ZoneDelegate.invoke (/Users/jimmy/Desktop/universal-starter-master/dist/server.js:558:26)

Steps to Reproduce
Steps to reproduce the behavior:

Related Code
https://github.com/Jimmysh/ionic-angular-ssr-test

@paulstelzer
Copy link
Contributor

Is this still an issue in beta.17?

@paulstelzer paulstelzer added needs: reply the issue needs a response from the user and removed triage labels Dec 3, 2018
@Jimmysh
Copy link
Author

Jimmysh commented Dec 4, 2018

Duplicate of #15041

@ionitron-bot ionitron-bot bot added triage and removed needs: reply the issue needs a response from the user labels Dec 4, 2018
@Jimmysh Jimmysh closed this as completed Dec 4, 2018
@ionitron-bot
Copy link

ionitron-bot bot commented Jan 3, 2019

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Jan 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants