Open daslicht opened 9 years ago
+1
Hmm this error seems to be coming from the guts of jsdom
. Possibly it's caused by the fact that angularcontext
(the dependency of angularjs-server
that itself depends on jsdom
) is pinning to ~3.1.2
and I think that old jsdom
version isn't compatible with newer versions of node than (IIRC?) 0.10.
Using a newer version of jsdom
might help but kinda annoying since it's an indirect dependency, albeit one that I also maintain. Will try to take a look at this at some point, but to be honest it's not a high priority because our app that uses this is still running on the Node 0.10 series right now.
+1. I have the same problem. Any solution?
I've managed to get this partially working on my fork https://github.com/rjmackay/angularjs-server/tree/update-angular-context However I think only the initial render is working, further navigation seems to be broken.
@rjmackay current available version on this repo is working for me as long as I add an APPID code as query parameter for the weather API. You can register an account for free and there is a free plan available by default for evaluation purposes.
When i run the example and visit localhost:3000 I get the following output in the console :