Kent👋
CDCloudflare Developers
•Created by Kent👋 on 11/3/2023 in #pages-help
Cloudflare Pages: NextJS&VueJS Hybrid deployment failed
Hi, I am using
NextJS
functions and VueJS
static files for a historical problem.
My project arch is: src/pages/api/*.js
for functions and fe/*.vue
.
My Pages framework is selected as NextJS. Before each build, I will use npm run prebuild
to change directory to fe
and build the static files to public
.
But I found vite
cannot be found in cloudflare pages' build phase. (More detailed log is attached)
I think vite should be installed by npm run install
but unfortunately not. Thanks for your help.
More info, if I build the fe locally, everything works fine. So the hybridzation deployment is technically possible.3 replies
CDCloudflare Developers
•Created by Kent👋 on 7/26/2023 in #workers-help
â–² error - Provided runtime "edge" is not supported.
Hi, I am creating a project with NextJs,in which there are some page functions under
/pages/api/xxx.ts
.
I have read the docs from NextJs' site to adapt my code to cf pages env by adding the code below
or
But I got the following error.
I don't know why, thanks for your help.12 replies
CDCloudflare Developers
•Created by Kent👋 on 7/3/2023 in #pages-help
A 500 error without exception log stream
1 replies