Cloudflare Pages build error
I'm getting a Cloudflare Pages build error.
To deploy a project based on Vite (React), I built it. But it got stuck with the error log below.
I also tried using the "vite build" command, but the result was same.
How can I resolve this issue?
Website link: https://corydalis10.pages.dev
Deployment ID: 68b1493c-21de-41c0-84a1-abb4d8e52059
Account ID: 2ad2e0660f721055a476740ea40c724e
Error log:
7 Replies
Looks like your project is missing the
package.json
file
@Cyb3r-Jak3
I'm using pnpm.
Is pnpm not supported?
Pnpm is supported.
@Cyb3r-Jok3 But why do I get an error?
The error says because the package.json file is missing. You should check that all the files needed are a part of the repo
https://github.com/corydalis10/portfolio
I already have it.
GitHub
GitHub - corydalis10/portfolio
Contribute to corydalis10/portfolio development by creating an account on GitHub.
@Cyb3r-Jak3
Sorry :(
It was my repository mistake.