#An extremely weird error

10 messages · Page 1 of 1 (latest)

pulsar kiln
#

Hi, I have a weird error:

framework-4556c45dd113b893.js:1 DOMException: Failed to execute 'measure' on 'Performance': The mark 'beforeRender' does not exist.
    at ne (https://www.ikeastock.xyz/_next/static/chunks/main-5ae059702bc551aa.js:1:18862)
    at https://www.ikeastock.xyz/_next/static/chunks/main-5ae059702bc551aa.js:1:22619
    at Array.forEach (<anonymous>)
    at https://www.ikeastock.xyz/_next/static/chunks/main-5ae059702bc551aa.js:1:22591
    at ri (https://www.ikeastock.xyz/_next/static/chunks/framework-4556c45dd113b893.js:1:93730)
    at ki (https://www.ikeastock.xyz/_next/static/chunks/framework-4556c45dd113b893.js:1:101026)
    at bi (https://www.ikeastock.xyz/_next/static/chunks/framework-4556c45dd113b893.js:1:100870)
    at yi (https://www.ikeastock.xyz/_next/static/chunks/framework-4556c45dd113b893.js:1:100406)
    at https://www.ikeastock.xyz/_next/static/chunks/framework-4556c45dd113b893.js:1:112243
    at ws (https://www.ikeastock.xyz/_next/static/chunks/framework-4556c45dd113b893.js:1:112758)

This error only appears when its built via yarn build && yarn start but never on the development server

pulsar kiln
#

bump

cold fulcrum
#

This error only appears when its built via yarn build && yarn start but never on the development server
This is because this runs only on a production environment and not during dev.

Did you see this thread? https://github.com/vercel/next.js/issues/20743#issuecomment-1215058471

Some people are saying that they get this error when they use router.push on the same path. ex:

being on the path /product and doing router.push('/product'). Any chance you're doing something like that?

pulsar kiln
#

no,

#

i'm using the router to get the query data but nothing else

pulsar kiln
#

still having issues with this

pulsar kiln
#

help...

cold fulcrum
#

Can you share your repo? this is a really difficult error to debug

pulsar kiln