Hi all. I have trouble loading the front built from git.
I cloned the repo; did ‘npm install’ in the front and server folders. Both front and server started successfully on ports 1444 and 1443 respectively. However, when I access front I get an JS error:
TypeError: Cannot read property 'default' of undefined at rankChild (preact-router.es.js?f128:82) at prepareVNodeForRanking (preact-router.es.js?f128:65) at Array.filter (<anonymous>) at Router.getMatchingChildren (preact-router.es.js?f128:303) at Router.canRoute (preact-router.es.js?f128:258) at canRoute (preact-router.es.js?f128:145) at route (preact-router.es.js?f128:134) at eval (main.js?5c4e:49)
Front correctly requires the latest version of preact-router (v3.2.1). However, dev dependency preact-cli 2.x requires preact-router version 2.x which in turn creates this problem.