Closed mousavian closed 6 years ago
Hey mate @matthewp, thanks for merging it in. Any estimation on when this will be published & available in npm? Regards
I had the same error just now, but I quickly found out that was because I did not call page({click: false});
after defining all my routes. I did not notice the page()
call in the doc after all the routes, my bad!
Maybe put that extra line of code inside another dedicated blockquote to really insist on it?
Dunno if this was @mousavian request, but thought I could share my experience on this.
Cheers,
I have noticed in some cases the
getBase
function is throwing an error becausepageWindow
is not properly checked.So this PR is addressing this issue to resolve
Cannot read property 'location' of undefined
error.It would be great if someone can do more investigation of why in some cases
pageWindow
become undefined in the first place.