PrimeDAO / prime-deals-dapp

DAO to DAO negotiations facilitated, ratified, and archived.
https://www.prime.xyz/deals
3 stars 1 forks source link

Documentation: Clicking a link that leads to another documentation page creates an infinite loop, creates an infinite loop, creates an infinite loop, crea.. #1088

Open BartuCulha opened 2 years ago

BartuCulha commented 2 years ago

Steps to reproduce:

  1. Navigate here: https://prime-deals-au2-staging.vercel.app/documentation/GETTINGSTARTED
  2. Click the link that says "here" under "Why should I use Prime Deals?"

RESULT Cannot interact with docs sidebar (see console error below)

EXPECTED Can interact


Ps: You can alternatively try other "here" links: https://prime-deals-dapp-git-refac-deals-au2-curvelabs.vercel.app/documentation/INITIATEADEAL

Console log throws: Uncaught TypeError: Cannot read properties of null (reading 'matching') at eM.handleScrollEvent (entry.8e09c9544862f83b3642.bundle.js:2:3981739) at HTMLDocument. (entry.8e09c9544862f83b3642.bundle.js:2:3979050)

If you try to navigate to another documentation page, console log will throw: Uncaught (in promise) Error: 1 remaining instructions after 100 iterations; there is likely an infinite loop. at entry.8e09c9544862f83b3642.bundle.js:2:3489364 at Hn.unresolvedInstructionsError (entry.8e09c9544862f83b3642.bundle.js:2:3489542) at Dn.processInstructions (entry.8e09c9544862f83b3642.bundle.js:2:3460014) at async Hn.processNavigation (entry.8e09c9544862f83b3642.bundle.js:2:3484356)

BartuCulha commented 2 years ago

Additional update: After you follow the steps to reproduce this bug, when you refresh the page, dapp will not load and console will display:

Uncaught (in promise) Error: 'home' did not match any configured route or registered component name - did you forget to add the component 'home' to the dependencies or to register it as a global dependency? at An.createComponent (entry.8e09c9544862f83b3642.bundle.js:2:3418874) at pn. (entry.8e09c9544862f83b3642.bundle.js:2:3433389) at fn.process (entry.8e09c9544862f83b3642.bundle.js:2:3404413) at fn.run (entry.8e09c9544862f83b3642.bundle.js:2:3403252) at Tn.transition (entry.8e09c9544862f83b3642.bundle.js:2:3432627) at Bn.run (entry.8e09c9544862f83b3642.bundle.js:2:3476182) at Dn.processInstructions (entry.8e09c9544862f83b3642.bundle.js:2:3461335) at async Hn.pro

testing-life commented 2 years ago

that's related to general router problems and other reported issues

1087

hiaux0 commented 1 year ago

Latest testing on https://prime-deals-au2-staging.vercel.app/documentation seemed okay again

BartuCulha commented 1 year ago

Still getting the same bug.

Console log:

Uncaught (in promise) Error: 'home' did not match any configured route or registered component name - did you forget to add the component 'home' to the dependencies or to register it as a global dependency? at _n.createComponent (entry.fe359000edc26d3abcca.bundle.js:2:4379209) at gn. (entry.fe359000edc26d3abcca.bundle.js:2:4393225) at mn.process (entry.fe359000edc26d3abcca.bundle.js:2:4364151) at mn.process (entry.fe359000edc26d3abcca.bundle.js:2:4364015) at mn.run (entry.fe359000edc26d3abcca.bundle.js:2:4362990) at Cn.transition (entry.fe359000edc26d3abcca.bundle.js:2:4392463) at Yn.run (entry.fe359000edc26d3abcca.bundle.js:2:4436257) at On.processInstructions (entry.fe359000edc26d3abcca.bundle.js:2:4421410) at async Vn.processNavigation (entry.fe359000edc26d3abcca.bundle.js:2:4444431) entry.fe359000edc26d3abcca.bundle.js:2 Error: 1 remaining instructions after 100 iterations; there is likely an infinite loop. at entry.fe359000edc26d3abcca.bundle.js:2:4449439 at Vn.unresolvedInstructionsError (entry.fe359000edc26d3abcca.bundle.js:2:4449617) at On.processInstructions (entry.fe359000edc26d3abcca.bundle.js:2:4420089) at async Promise.all (index 0) at async On.processInstructions (entry.fe359000edc26d3abcca.bundle.js:2:4422132) at async Vn.processNavigation (entry.fe359000edc26d3abcca.bundle.js:2:4444431) Array(1) entry.fe359000edc26d3abcca.bundle.js:2 Uncaught (in promise) Error: 1 remaining instructions after 100 iterations; there is likely an infinite loop. at entry.fe359000edc26d3abcca.bundle.js:2:4449439 at Vn.unresolvedInstructionsError (entry.fe359000edc26d3abcca.bundle.js:2:4449617) at On.processInstructions (entry.fe359000edc26d3abcca.bundle.js:2:4420089) at async Promise.all (index 0) at async On.processInstructions (entry.fe359000edc26d3abcca.bundle.js:2:4422132) at async Vn.processNavigation (entry.fe359000edc26d3abcca.bundle.js:2:4444431)

BartuCulha commented 1 year ago

Updated "steps to reproduce"