You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys, after fixing the first issue running my app locally I need to deploy my changes to Cloudflare Pages.
First, I don't know if this is the right place to ask this question, if not, please let me know where I should ask.
Everything appears to be fine until the end of the deployment where I see the following: Error: Failed to publish your Function. Got error: Unknown internal error occurred..
This project contains no custom functions.
What has worked for me so far:
Running locally nuxi build && nuxi preview
Deploying my app to Vercel
Deploying my app to AWS Amplify
What has not worked for me so far:
nuxi preview --preset=cloudflare-pages && npx wrangler pages dev dist/. Here is the log of what I see:
✘ [ERROR] [nuxt] [request error] [unhandled] [500] s55 is not a function
at null.<anonymous>
(file:./.wrangler/tmp/pages-sG8Vax/chunks/build/server.mjs:1:388642)
at .wrangler/tmp/pages-sG8Vax/chunks/build/server.mjs
(file:./.wrangler/tmp/pages-sG8Vax/chunks/build/server.mjs:1:388680)
at __init
(file:./.wrangler/tmp/dev-oHzJAU/qfbkky8988l.js:12:59)
at null.<anonymous>
(file:./.wrangler/tmp/pages-sG8Vax/chunks/routes/renderer.mjs:1:128648)
at null.<anonymous> (async
file:./.wrangler/tmp/dev-oHzJAU/qfbkky8988l.js:178324:20)
at async Kr4
(file:./.wrangler/tmp/pages-sG8Vax/chunks/routes/renderer.mjs:1:130385)
at async Object.handler
(file:./.wrangler/tmp/pages-sG8Vax/chunks/routes/renderer.mjs:1:132890)
at async Object.handler
(file:./.wrangler/tmp/pages-sG8Vax/chunks/runtime.mjs:1:73437)
at null.<anonymous> (async
file:./.wrangler/tmp/dev-oHzJAU/qfbkky8988l.js:179955:7)
at null.<anonymous> (async
file:./.wrangler/tmp/dev-oHzJAU/qfbkky8988l.js:183529:26)
[wrangler:inf] GET / 500 Internal Server Error (102ms)
✘ [ERROR] [nuxt] [request error] [unhandled] [500] Cannot read properties of undefined (reading 'default')
at null.<anonymous>
(file:./.wrangler/tmp/pages-sG8Vax/chunks/routes/renderer.mjs:1:128722)
at null.<anonymous> (async
file:./.wrangler/tmp/dev-oHzJAU/qfbkky8988l.js:178324:20)
at async Kr4
(file:./.wrangler/tmp/pages-sG8Vax/chunks/routes/renderer.mjs:1:130385)
at async Object.handler
(file:./.wrangler/tmp/pages-sG8Vax/chunks/routes/renderer.mjs:1:132890)
at async Object.handler
(file:./.wrangler/tmp/pages-sG8Vax/chunks/runtime.mjs:1:73437)
at null.<anonymous> (async
file:./.wrangler/tmp/dev-oHzJAU/qfbkky8988l.js:179955:7)
at null.<anonymous> (async
file:./.wrangler/tmp/dev-oHzJAU/qfbkky8988l.js:183529:26)
at async errorHandler
(file:./.wrangler/tmp/pages-sG8Vax/chunks/runtime.mjs:1:139411)
at null.<anonymous> (async
file:./.wrangler/tmp/dev-oHzJAU/qfbkky8988l.js:179958:76)
at null.<anonymous> (async
file:./.wrangler/tmp/dev-oHzJAU/qfbkky8988l.js:183529:26)
Deploying my changes on Cloudflare pages. Here are the latest logs I see when deploying my app:
17:31:00.263 | ✨ Compiled Worker successfully
-- | --
17:31:01.065 | Found _routes.json in output directory. Uploading.
17:31:01.084 | Validating asset output directory
17:31:03.597 | Deploying your site to Cloudflare's global network...
17:31:06.716 | Parsed 354 valid redirect rules.
17:31:06.716 | Parsed 3 valid header rules.
17:31:08.451 | Uploading... (964/967)
17:31:08.877 | Uploading... (965/967)
17:31:08.991 | Uploading... (966/967)
17:31:09.080 | Uploading... (967/967)
17:31:09.080 | ✨ Success! Uploaded 3 files (964 already uploaded) (1.48 sec)
17:31:09.080 |
17:31:09.885 | ✨ Upload complete!
17:31:13.556 | Success: Assets published!
17:31:19.010 | Error: Failed to publish your Function. Got error: Unknown internal error occurred.
17:31:19.010 | Note: Not all logs could be displayed, click "Download log" to view more
I have created a Cloudflare ticket to get more information about that Unknown internal error, however, I haven't received a response in more than a week.
Is there anything I can do in the meantime to see more information about the error? Any hint would be appreciated!
Kind regards,
Luis.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Reproductions make it possible for us to triage and fix issues quickly with a relatively small team. It helps us discover the source of the problem, and also can reveal assumptions you or we might be making.
What will happen?
If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritize it based on its severity and how many people we think it might affect.
If needs reproduction labeled issues don't receive any substantial activity (e.g., new comments featuring a reproduction link), we'll close them. That's not because we don't care! At any point, feel free to comment with a reproduction and we'll reopen it.
How can I create a reproduction?
We have a couple of templates for starting with a minimal reproduction:
Environment
Darwin
v21.7.1
3.12.1
3.12.0
2.9.6
yarn@1.22.22
-
app
,typescript
,devServerHandlers
,vite
,runtimeConfig
,sourcemap
,modules
,build
,css
,tailwindcss
,ignore
,plugins
,graphql
,sitemap
,robots
,experimental
@nuxtjs/tailwindcss@6.12.0
,nuxt-graphql-request@8.0.2
,@nuxtjs/sitemap@5.2.0
,@nuxtjs/robots@3.0.0
,@nuxt/test-utils/module@3.13.1
-
Reproduction
N/A
Describe the bug
Hi guys, after fixing the first issue running my app locally I need to deploy my changes to Cloudflare Pages.
First, I don't know if this is the right place to ask this question, if not, please let me know where I should ask.
Everything appears to be fine until the end of the deployment where I see the following:
Error: Failed to publish your Function. Got error: Unknown internal error occurred.
.This project contains no custom functions.
What has worked for me so far:
nuxi build && nuxi preview
What has not worked for me so far:
nuxi preview --preset=cloudflare-pages && npx wrangler pages dev dist/
. Here is the log of what I see:I have created a Cloudflare ticket to get more information about that
Unknown internal error
, however, I haven't received a response in more than a week.Is there anything I can do in the meantime to see more information about the error? Any hint would be appreciated!
Kind regards,
Luis.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: