Plasmic build chunk file issue.

Hi i am getting the chunk file issue n plasmic build.

[plasmicPath] /
PLASMIC: Encountered error when pre-rendering PlasmicComponent: Error: PLASMIC: Failed to load render__XbmJ1IUCBq-5CX.js: Error: PLASMIC: Failed to load chunk-OENOB4ZI.js: TypeError: (0 , import_chunk_GZBXEQII.hash_esm_default) is not a function
Calling PlasmicComponentLoader.registerSubstitution() after Plasmic component has rendered; starting over.
Error: PLASMIC: Failed to load render__XbmJ1IUCBq-5CX.js: Error: PLASMIC: Failed to load chunk-OENOB4ZI.js: TypeError: (0 , import_chunk_GZBXEQII.hash_esm_default) is not a function
    at Registry.load (/home/ankit/dresma/domyshoot-website/frontend/node_modules/@plasmicapp/loader-core/dist/index.js:224:13)
    at ComponentLookup.getComponent (/home/ankit/dresma/domyshoot-website/frontend/node_modules/@plasmicapp/loader-react/dist/index.js:281:33)
    at usePlasmicComponent (/home/ankit/dresma/domyshoot-website/frontend/node_modules/@plasmicapp/loader-react/dist/index.js:1210:56)
    at PlasmicComponent (/home/ankit/dresma/domyshoot-website/frontend/node_modules/@plasmicapp/loader-react/dist/index.js:1253:21)
    at processChild (/home/ankit/dresma/domyshoot-website/frontend/node_modules/react-dom/cjs/react-dom-server.node.development.js:3353:14)
    at resolve (/home/ankit/dresma/domyshoot-website/frontend/node_modules/react-dom/cjs/react-dom-server.node.development.js:3270:5)
    at ReactDOMServerRenderer.render (/home/ankit/dresma/domyshoot-website/frontend/node_modules/react-dom/cjs/react-dom-server.node.development.js:3753:22)
    at ReactDOMServerRenderer.read (/home/ankit/dresma/domyshoot-website/frontend/node_modules/react-dom/cjs/react-dom-server.node.development.js:3690:29)
    at renderToString (/home/ankit/dresma/domyshoot-website/frontend/node_modules/react-dom/cjs/react-dom-server.node.development.js:4298:27)
    at Object.renderPage (/home/ankit/dresma/domyshoot-website/frontend/node_modules/next/dist/next-server/server/render.js:53:854)
Subscribing to Plasmic changes...
[plasmicPath] /
PLASMIC: Encountered error when pre-rendering PlasmicComponent: Error: PLASMIC: Failed to load render__XbmJ1IUCBq-5CX.js: Error: PLASMIC: Failed to load chunk-OENOB4ZI.js: TypeError: (0 , import_chunk_GZBXEQII.hash_esm_default) is not a function
Calling PlasmicComponentLoader.registerSubstitution() after Plasmic component has rendered; starting over.
Error: PLASMIC: Failed to load render__XbmJ1IUCBq-5CX.js: Error: PLASMIC: Failed to load chunk-OENOB4ZI.js: TypeError: (0 , import_chunk_GZBXEQII.hash_esm_default) is not a function
    at Registry.load (/home/ankit/dresma/domyshoot-website/frontend/node_modules/@plasmicapp/loader-core/dist/index.js:224:13)
    at ComponentLookup.getComponent (/home/ankit/dresma/domyshoot-website/frontend/node_modules/@plasmicapp/loader-react/dist/index.js:281:33)
    at usePlasmicComponent (/home/ankit/dresma/domyshoot-website/frontend/node_modules/@plasmicapp/loader-react/dist/index.js:1210:56)
    at PlasmicComponent (/home/ankit/dresma/domyshoot-website/frontend/node_modules/@plasmicapp/loader-react/dist/index.js:1253:21)
    at processChild (/home/ankit/dresma/domyshoot-website/frontend/node_modules/react-dom/cjs/react-dom-server.node.development.js:3353:14)
    at resolve (/home/ankit/dresma/domyshoot-website/frontend/node_modules/react-dom/cjs/react-dom-server.node.development.js:3270:5)
    at ReactDOMServerRenderer.render (/home/ankit/dresma/domyshoot-website/frontend/node_modules/react-dom/cjs/react-dom-server.node.development.js:3753:22)
    at ReactDOMServerRenderer.read (/home/ankit/dresma/domyshoot-website/frontend/node_modules/react-dom/cjs/react-dom-server.node.development.js:3690:29)
    at renderToString (/home/ankit/dresma/domyshoot-website/frontend/node_modules/react-dom/cjs/react-dom-server.node.development.js:4298:27)
    at Object.renderPage (/home/ankit/dresma/domyshoot-website/frontend/node_modules/next/dist/next-server/server/render.js:53:854)

hi! what’s your project Id?

Domyshoot workspace dresma

gCxVELPwTu5zZZZy2kmhNR

could you try again?

We are able to make build now. Thanks. can you explain the issue for the future reference.

the build has failed again. Please help ASAP.

info - Generating static pages (0/38)[2K[1G[ ] info - Generating static pages (0/38)[2K[1G[ =] info - Generating static pages (0/38)[2K[1G[ ==] info - Generating static pages (0/38)[2K[1G[ ===] info - Generating static pages (0/38)Plasmic: Encountered error while prepass rendering: TypeError: Cannot read property ‘prototype’ of undefined
06:48:32 at shouldConstruct (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:93:12)
06:48:32 at render (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:577:10)
06:48:32 at visitElement (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:691:15)
06:48:32 at visitLoop (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:708:17)
06:48:32 at update (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:767:9)
06:48:32 at /home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:844:5
06:48:32 [2K[1G[====] info - Generating static pages (0/38)Plasmic: Encountered error while prepass rendering: TypeError: Cannot read property ‘prototype’ of undefined
06:48:32 at shouldConstruct (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:93:12)
06:48:32 at render (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:577:10)
06:48:32 at visitElement (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:691:15)
06:48:32 at visitLoop (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:708:17)
06:48:32 at update (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:767:9)
06:48:32 at /home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:844:5
06:48:32 [2K[1G[=== ] info - Generating static pages (0/38)Plasmic: Encountered error while prepass rendering: TypeError: Cannot read property ‘prototype’ of undefined
06:48:32 at shouldConstruct (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:93:12)
06:48:32 at render (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:577:10)
06:48:32 at visitElement (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:691:15)
06:48:32 at visitLoop (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:708:17)
06:48:32 at update (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:767:9)
06:48:32 at /home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:844:5
06:48:32 Plasmic: Encountered error while prepass rendering: TypeError: Cannot read property ‘prototype’ of undefined
06:48:32 at shouldConstruct (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:93:12)
06:48:32 at render (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:577:10)
06:48:32 at visitElement (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:691:15)
06:48:32 at visitLoop (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:708:17)
06:48:32 at update (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:767:9)
06:48:32 at /home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:844:5
06:48:32 Plasmic: Encountered error while prepass rendering: TypeError: Cannot read property ‘prototype’ of undefined
06:48:32 at shouldConstruct (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:93:12)
06:48:32 at render (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:577:10)
06:48:32 at visitElement (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:691:15)
06:48:32 at visitLoop (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:708:17)
06:48:32 at update (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:767:9)
06:48:32 at /home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:844:5
06:48:32 at runNextTicks (internal/process/task_queues.js:60:5)
06:48:32 at processImmediate (internal/timers.js:437:9)
06:48:32 [2K[1G[== ] info - Generating static pages (0/38)Plasmic: Encountered error while prepass rendering: TypeError: Cannot read property ‘prototype’ of undefined
06:48:32 at shouldConstruct (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:93:12)
06:48:32 at render (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:577:10)
06:48:32 at visitElement (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:691:15)
06:48:32 at visitLoop (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:708:17)
06:48:32 at update (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:767:9)
06:48:32 at /home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:844:5
06:48:32 Plasmic: Encountered error while prepass rendering: TypeError: Cannot read property ‘prototype’ of undefined
06:48:32 at shouldConstruct (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:93:12)
06:48:32 at render (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:577:10)
06:48:32 at visitElement (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:691:15)
06:48:32 at visitLoop (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:708:17)
06:48:32 at update (/home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:767:9)
06:48:32 at /home/ubuntu/domyshoot-website/frontend/node_modules/@plasmicapp/react-ssr-prepass/dist/react-ssr-prepass.js:844:5
06:48:32 Plasmic: Encountered error while prepass rendering: TypeError: Cannot read property ‘prototype’ of undefined

Looking…

should be fixed now, sorry about that

Trying to build again. But please let us know why this is happening repeatedly.

please help us understand the issue for future reference

the build failed again

please help

same issue

waiting for your response

Hi. Please update

Hi @disturbing_alpaca! Could you please try again?

Are you using preview: true? if not, could you also try saving a new version? (the last version might be cached with the error)