Garnaph
CDCloudflare Developers
•Created by Garnaph on 8/16/2023 in #pages-help
Cannot deploy Nuxt app to pages. Build completes, but after publish I get a minified runtime error
my pages.dev link : woom-v2-nuxt3-cloudflare-autodeploy.pages.dev
deployment id : 0ac92c74-e72e-4969-8256-1fcedfbba7ee
I am consistently getting a runtime error after the publish succeeds.
Given that the error is coming from minified js, that I do not have access to, this is making it impossible to figure out exactly what the problem is.
2:46:05.130 Success: Assets published!
12:46:06.565 Error: Failed to publish your Function. Got error: Uncaught TypeError: Cannot read properties of undefined (reading 'exports')
at functionsWorker-0.8391131841286965.js:21419:92
when I build and run using wrangler locally, I get a similar error
service core:user:worker: Uncaught TypeError: Cannot read properties of undefined (reading 'exports')
at bh25zprwrab.js:21509:92
✘ [ERROR] MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
However I can never find the file it refers to [bh25zprwrab.js in this case]
any help would be greatly appreciated
6 replies