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
i'm trying to initiate the new setupDevPlatform() functionality, i have installed @cloudflare/next-on-pages via npm install as a dependency, however i seem to be getting an error when trying to import it.
Reproduction
No response
Pages Deployment Method
None
Pages Deployment ID
No response
Additional Information
No response
Would you like to help?
Would you like to help fixing this bug?
The text was updated successfully, but these errors were encountered:
this bug was my last straw with cloudflare. i really wanted to just keep everything under cloudflare and migrate my nextjs app over but i have spent countless days fighting against the development experience with cloudflare. the documentation for one has a hundred different variations on how to access the ENV variable in server routes. it also has several different variations on how to structure the routes. in some cases, the former doesnt even work. there are different configuration files you have to set up, for both local and production. there are specific things you have to include inline when running commands. there are types you have to setup manually within the configuration files which again there are several different versions of. its genuinely really annoying to keep track of, and i hope eventually one day cloudflare learns to just simplify things as well as vercel has because as much as i prefer to use cloudflare, vercel truly is one click deploy (although im not using vercel anymore either).
next-on-pages environment related information
npx @cloudflare/next-on-pages --info
System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:44 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6000
CPU: (10) arm64 Apple M1 Pro
Memory: 16 GB
Shell: /bin/zsh
Package Manager Used: npm (8.19.2)
Relevant Packages:
@cloudflare/next-on-pages: 1.11.0
vercel: N/A
next: N/A
Description
i'm trying to initiate the new setupDevPlatform() functionality, i have installed @cloudflare/next-on-pages via npm install as a dependency, however i seem to be getting an error when trying to import it.
Reproduction
No response
Pages Deployment Method
None
Pages Deployment ID
No response
Additional Information
No response
Would you like to help?
The text was updated successfully, but these errors were encountered: