Hash-only navigation doesn't work, i.e. URL contain #
Melody86 opened this issue · 2 comments
Program stuck when i run script with URL like 'https://example.com/index.html#/ohh', which is a default hash mode vue-router. Then i debugger this source project, i got its exception stack as "Error: net::ERR_ABORTED at ... at navigate...", and all the performance static turns into "Nan ms".
🚀 It takes 0.26 s to load `` 20 times
Run interval 0.26 s
Total load times 20
DNS lookup time NaN ms
TCP connect time NaN ms
TTFB NaN ms
Download time of the page NaN ms
After DOM Ready download time NaN ms
White screen time NaN ms
DOM Ready time NaN ms
Load time NaN ms
Same Issue with: Hash-only navigation doesn't work #257
This works for me.
puppeteer/examples/hash_navigation
Sorry for solutions above. The fact works for me is that i specified installing puppeteer as 1.4.0 edition. Hiper default edition is 1.20.0 ( "https://registry.npmjs.org/puppeteer/-/puppeteer-1.20.0.tgz" ).
Solution for "npm install hiper -g":
cd /usr/local/lib/node_modules/hiper
npm install puppeteer@1.4.0