Closed ghost closed 7 years ago
I found the workaround:
I installed parse5 andd xhr2 as the separated project dependencies
and
I added the
import * as xhr2 from 'xhr2'; import * as parse5 from 'parse5'
to main.server.ts
and commented the
import 'reflect-metadata';
from browser.polyfills.ts and server.polyfills.ts file.
I don't know why it isn't working the standard way but still it is working with this workaround :)
Just fyi you can now pull in @nguniversal/aspnetcore-engine
and remove the temporary engine file.
It's currently on version '1.0.0-beta.2'
Did you have any issues with AoT or otherwise when using the engine, I saw problems with InjectionToken but didn't have time to fix them yet. @pjmagee
I'll check next Wednesday.
Closing as we're using nguniversal/aspnet-engine & Domino (instead of parse5) now. Hope that's ok!
Hi I'm really a fun of this advanced starter but after npm packages update I found the problems with @angular\platform-server dependencies.
When I'm trying to build now the on dev mode so npm run build:dev I'm getting the following errors:
My package.json file is:
I'm using: Node: 8.2.1 npm: 5.2.0 OS: Windows 7
I tried: 1) packages installation 2) totally node_modules deletion
without success :(
Could you please give me a hint how to fix the above errors?
Thx in advance