inferno-boilerplate icon indicating copy to clipboard operation
inferno-boilerplate copied to clipboard

Uncaught TypeError: Cannot read property 'pathname' of undefined

Open JohnathanWeisner opened this issue 8 years ago • 4 comments

Problem: Error gets thrown in the browser on a search

How to reproduce: yarn yarn start open localhost:4000 in chrome search 'batman' error output in chrome console

main.js:10502 Uncaught TypeError: Cannot read property 'pathname' of undefined
    at getURLString (main.js:10502)
    at match (main.js:11041)
    at RouterContext.render (main.js:11148)
    at RouterContext._updateComponent (main.js:6520)
    at patchComponent (main.js:3918)
    at patch (main.js:3733)
    at patchComponent (main.js:3945)
    at patch (main.js:3733)
    at patchComponent (main.js:3945)
    at patch (main.js:3733)

JohnathanWeisner avatar Jan 30 '17 16:01 JohnathanWeisner

got the same issue. it's look to be related to inferno redux router

lcrpt avatar Apr 10 '17 15:04 lcrpt

Sorry, I've been working full time with react for my day job, so I don't really have much time to mess around with inferno anymore 😢

If anyone has interest in taking over maintaining this boilerplate, please let me know! I might be able to do a dependency update to get this thing working again, but any further improvements will have to be done by somebody else.

AriTheElk avatar Apr 11 '17 06:04 AriTheElk

got the same issue. i don`t understand why this happened.

akhll avatar Oct 24 '17 22:10 akhll

I have the same issue!! has someone resolved the problem?

souly80 avatar Dec 12 '17 18:12 souly80