Closed Kamsou closed 4 months ago
Hello @Kamsou
Could you try to install the dependencies with pnpm
and commit the pnpm-lock.json
file and see if the deploy works?
Thanks @Atinux , the deployment works now!
But when i visit my app, i have an 500 Error. Its a problem with wrangler ?
β² [WARNING] Non-relative path "#internal/nitro/routes/openapi" is not allowed when "baseUrl" is not set (did you forget a leading "./"?) [tsconfig.json]
.nuxt/tsconfig.json:87:8:
87 β "#internal/nitro/routes/openapi"
β΅ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[wrangler:inf] Ready on http://localhost:8788
β² [WARNING] Non-relative path "#internal/nitro/routes/openapi" is not allowed when "baseUrl" is not set (did you forget a leading "./"?) [tsconfig.json]
.nuxt/tsconfig.json:87:8:
87 β "#internal/nitro/routes/openapi"
β΅ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
β Starting local server...
β¨ Parsed 0 valid redirect rules.
β¨ Parsed 3 valid header rules.
[wrangler:inf] GET / 500 Internal Server Error
What command did you run?
What command did you run?
first pnpm run build
then, pnpm run preview
then, npx wrangler pages dev dist/
We have an issue to preview locally at the moment, but the deployment should work with no issue actually.
The deployment works, but when i check website, i have an error 500 : https://b7bb5547.my-todo-of-the-day.pages.dev/
(if you want to see my deployment logs : my-todo-of-the-day.b7bb5547-08a2-4e68-aed3-eeebd1333d8e.log )
Sorry about this @Kamsou
I just tried now and I can see the 500 error in development as it is currently related to the fact that we don't generate the wrangler.toml at the moment (see #113 for ongoing progress).
I tried to deploy in production and seems to work with no issue.
Did you deploy using the NuxtHub Admin or the NuxtHub CLI?
No problem. For deploy, I went to Cloudflare (by Nuxhub Admin link) and imported my github project. And it launched the deployment from there. I didn't do anything else.
For info:
@nuxhub/core not found
For deploy, I went to Cloudflare (by Nuxhub Admin link) and imported my github project. And it launched the deployment from there. I didn't do anything else.
The main issue of this is you need to go through NuxtHub Admin for the deployment to make sure that we spawn all the necessary resources (R2, KV, D1).
Could you please remove the project on Cloudflare UI?
Then import the GitHub repository from the NuxtHub admin please? π
That was it, its works now ! I didn't do the installation in the right order π₯Ή (sorry about that) Thanks @Atinux π€
Describe the bug I initiated a Nuxt Hub project. I haven't added any features. I just pushed it on my Github. I created my CloudFlare account. I linked the projects. But when deploying on CloudFlare I get errors that I don't understand.
Steps to reproduce
Settings on CloudFlare
Errors Logs on CloudFlare
Expected behavior Deploy done !