Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

[Angular] Server Side Rendering Issue with angular "^4.2.6" #1118

Description

@pfrendo

Update to angular 4.2.6 and update server side rendering

System.Exception: Call to Node module failed with error: Prerendering failed because of error: TypeError: Object prototype may only be an Object or null: undefined

Activity

  1. changed the title [-][Angular] Server Side Rendering Issue[/-] [+][Angular] Server Side Rendering Issue with angular "^4.2.6"[/+] on Jul 14, 2017
  2. SteveSandersonMS commented on Jul 14, 2017

    @SteveSandersonMS
    Member

    I'm not sure what project you're upgrading from, or how exactly you're doing the upgrade, but I just tried it and it worked fine.

    Specifically, I started with the version of the template in this repo (which is already on Angular 4.2.5), and then ran:

    • npm install --save-exact --save @angular/animations@4.2.6 @angular/common@4.2.6 @angular/compiler@4.2.6 @angular/compiler-cli@4.2.6 @angular/core@4.2.6 @angular/forms@4.2.6 @angular/http@4.2.6 @angular/platform-browser@4.2.6 @angular/platform-browser-dynamic@4.2.6 @angular/platform-server@4.2.6 @angular/router@4.2.6 zone.js@0.8.13
    • webpack --config webpack.config.vendor.js
    • webpack

    Then upon restarting the application, it all worked without problems.

    I'll close this because it is working with the latest template. However if you track down the issue in your specific case and think it's a fault in some code in this repo, please let us know what you think we have wrong. Hope that's OK!

  3. pfrendo commented on Jul 17, 2017

    @pfrendo
    Author

    @SteveSandersonMS .. When will the new version be released? As the one on npm is still pointing to the old template :)

  4. SteveSandersonMS commented on Jul 17, 2017

    @SteveSandersonMS
    Member

    @pfrendo As soon as .NET Core 2.0 is released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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