You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
I'll talk to Pat about it today and let you guys know @stanbe@AiBoy.
We have a nice workaround file for now you can use (and import at the top of your browser/node modules) for the time being as well. (https://github.com/angular/universal-starter/tree/master/src - you can see the workaround files in here)
@MarkPieszak I followed the link you posted and added those files to my project, and then imported the appropriate ones into my client.ts and server.ts
Unfortunately I'm still getting the same error. Here are my versions, if that is any help too:
I'm a newibe to universal but it seems like a pretty daunting task trying to manage all the various angular projects and making sure everything works. :o
This error is rather annoying and the workaround is by definition just a workaround, not really satisfying. Is there still an issue with the pull request? @MarkPieszak@AiBoy
Let me make sure the workaround still works for the latest Angular release and I'll talk to @gdi2290 about it, see if it's possible to squeeze this in there!
Apologies guys!
Check out the universal node starter to see what you need to add to the webpack-starter, check out the documentation.md file here as well that talks about the necessary files. @fdambrosio
If you're using the workaround I think you can't use Angular 2.3 as some other things changed. Can you take it down to 2.2 and see if it works?
As we move some Core things from Universal into AngularCore itself, it'll help alleviate problems like this from happening!
@dimonzav I just tried update to 2.4.1 version and adding files: __workaround.browser, __workaround.node.
Then adding appropriate import statements to server.ts and client.ts files and it didn't work. What did you do or what I did wrong?
I tried the workaround. But still facing the problem in angular@2.4.7; currently using the latest 2.1.0-rc.1 version of Universal. Anything more to do?
I'm a noob and I'm using the Asp.net Core with Angular template. I faced this when I upgraded all my packages to the latest version. But now I downgraded all packages to the same in the template (2.0.10); so working for now.
I'm scared of upgrading the packages again. It seems there are multiple dependencies of packages which raise these errors; any guidelines would be helpful.
Activity
obenjiro commentedon Nov 20, 2016
Can we merge this? Or is there any issues with this PR?
stanbe commentedon Nov 28, 2016
Any news on this issue?
MarkPieszak commentedon Nov 28, 2016
I'll talk to Pat about it today and let you guys know @stanbe @AiBoy.
We have a nice workaround file for now you can use (and import at the top of your browser/node modules) for the time being as well. (https://github.com/angular/universal-starter/tree/master/src - you can see the workaround files in here)
0radek commentedon Dec 13, 2016
Hi. Is this issue fixed? I am still getting this error, using angular2-universal version ~2.1.0-rc.1
0radek commentedon Dec 13, 2016
@MarkPieszak I followed the link you posted and added those files to my project, and then imported the appropriate ones into my
client.tsandserver.tsUnfortunately I'm still getting the same error. Here are my versions, if that is any help too:
MarkPieszak commentedon Dec 13, 2016
You have it setup similar to how the starters have it? Included at the top of each of those files? @ScaryWolfMan
0radek commentedon Dec 14, 2016
@MarkPieszak Yep! :(
colltoaction commentedon Dec 14, 2016
0radek commentedon Dec 14, 2016
I'm a newibe to universal but it seems like a pretty daunting task trying to manage all the various angular projects and making sure everything works. :o
stanbe commentedon Dec 14, 2016
This error is rather annoying and the workaround is by definition just a workaround, not really satisfying. Is there still an issue with the pull request? @MarkPieszak @AiBoy
obenjiro commentedon Dec 14, 2016
@stanbe I'm not a maintainer :/ so I can't do anything about it.
And yes, we have Angular 2.3 already, but I still can't update Angular-Universal. This is sad.
MarkPieszak commentedon Dec 14, 2016
Let me make sure the workaround still works for the latest Angular release and I'll talk to @gdi2290 about it, see if it's possible to squeeze this in there!
Apologies guys!
0radek commentedon Dec 15, 2016
@MarkPieszak I've reverted to 2.10 and I'm able to run my project without any issues at the moment.
fdambrosio commentedon Dec 18, 2016
how can we build with universal? We're started using angular2-webpack-starter
MarkPieszak commentedon Dec 18, 2016
Check out the universal node starter to see what you need to add to the webpack-starter, check out the documentation.md file here as well that talks about the necessary files. @fdambrosio
fdambrosio commentedon Dec 19, 2016
thanks @MarkPieszak we have "Call to Node module failed with error: TypeError: Cannot read property 'SelectorMatcher' of undefined" message error
MarkPieszak commentedon Dec 19, 2016
If you're using the workaround I think you can't use Angular
2.3as some other things changed. Can you take it down to 2.2 and see if it works?As we move some Core things from Universal into AngularCore itself, it'll help alleviate problems like this from happening!
0radek commentedon Dec 19, 2016
@MarkPieszak I was having the same issue, but I'm now using angular 2.1.0 and angular-universal 2.0.11. no longer getting any issues :(
dimonzav commentedon Dec 27, 2016
Workarounds from universal-starter repository is working well with Angular 2.4.1!
MarkPieszak commentedon Dec 27, 2016
Oh that's great news 👍 haven't been able to check on holiday this week. @dimonzav
szykov commentedon Jan 1, 2017
@dimonzav I just tried update to 2.4.1 version and adding files: __workaround.browser, __workaround.node.
Then adding appropriate import statements to server.ts and client.ts files and it didn't work. What did you do or what I did wrong?
PatrickJS commentedon Jan 8, 2017
will be fixed in ng4
angular/angular#13822
ParkourKarthik commentedon Feb 17, 2017
I tried the workaround. But still facing the problem in
angular@2.4.7; currently using the latest2.1.0-rc.1version of Universal. Anything more to do?MarkPieszak commentedon Feb 17, 2017
Do you have it setup just like in the universal starter? @ParkourKarthik
ParkourKarthik commentedon Feb 21, 2017
I'm a noob and I'm using the Asp.net Core with Angular template. I faced this when I upgraded all my packages to the latest version. But now I downgraded all packages to the same in the template (
2.0.10); so working for now.I'm scared of upgrading the packages again. It seems there are multiple dependencies of packages which raise these errors; any guidelines would be helpful.
MarkPieszak commentedon Feb 21, 2017
This template here has everything a little more up to date and is .net, take a look at the dependencies. https://github.com/MarkPieszak/aspnetcore-angular2-universal
Don't worry about warnings during install for now. @ParkourKarthik
angular-automatic-lock-bot commentedon Sep 4, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.