Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

aspnetcore-engine@5.0.0-beta.1 not working with TransferStateModule  #832

@naveedahmed1

Description

@naveedahmed1
  • I'm submitting a ...
- [ x] bug report
- [ ] feature request
- [ ] support request => Please do not submit support request here, see note at the top of this template.
  • What modules are related to this Issue?
- [x ] aspnetcore-engine
- [ ] express-engine
- [ ] hapi-engine
  • Do you want to request a feature or report a bug?
    It seems to be a bug.

After upgrading to aspnetcore-engine@5.0.0-beta.1 I tried adding ServerTransferStateModule and BrowserTransferStateModule from @angular/platform-server' and @angular/platform-browser respectively. As suggested https://next.angular.io/api/platform-server/ServerTransferStateModule and https://medium.com/@evertonrobertoauler/angular-5-universal-with-transfer-state-using-angular-cli-19fe1e1d352c

But after this change, I am now receiving error Error: The selector "app-root" did not match any elements and no markup is generated at server.

  • Please tell us about your environment:
  • Angular version: 5.0.0-rc.1
  • Browser: [Chrome]
  • Language: [TypeScript]
  • OS: [Windows]
  • Platform: [.NETCore]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions