-
Notifications
You must be signed in to change notification settings - Fork 712
Open
Description
When trying to build and deploy the project using Cloudflare Pages, it turns out that there's a dependency conflict. Here's the log:
22:48:42.676 | Detected the following tools from environment: [email protected], [email protected]
-- | --
22:48:42.677 | Installing project dependencies: npm install --progress=false
22:48:47.263 | npm error code ERESOLVE
22:48:47.264 | npm error ERESOLVE unable to resolve dependency tree
22:48:47.264 | npm error
22:48:47.264 | npm error While resolving: [email protected]
22:48:47.264 | npm error Found: @stripe/[email protected]
22:48:47.264 | npm error node_modules/@stripe/stripe-js
22:48:47.264 | npm error @stripe/stripe-js@"^8.5.2" from the root project
22:48:47.264 | npm error
22:48:47.264 | npm error Could not resolve dependency:
22:48:47.264 | npm error peer @stripe/stripe-js@"^3 \|\| ^4" from [email protected]
22:48:47.264 | npm error node_modules/svelte-stripe
22:48:47.264 | npm error svelte-stripe@"^1.4.0" from the root project
22:48:47.264 | npm error
22:48:47.265 | npm error Fix the upstream dependency conflict, or retry
22:48:47.265 | npm error this command with --force or --legacy-peer-deps
22:48:47.265 | npm error to accept an incorrect (and potentially broken) dependency resolution.
22:48:47.265 | npm error
22:48:47.265 | npm error
22:48:47.266 | npm error For a full report see:
22:48:47.266 | npm error /opt/buildhome/.npm/_logs/2025-12-16T14_48_43_025Z-eresolve-report.txt
22:48:47.266 | npm error A complete log of this run can be found in: /opt/buildhome/.npm/_logs/2025-12-16T14_48_43_025Z-debug-0.log
22:48:47.286 | Error: Exit with error code: 1
22:48:47.287 | at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)
22:48:47.287 | at Object.onceWrapper (node:events:652:26)
22:48:47.287 | at ChildProcess.emit (node:events:537:28)
22:48:47.287 | at ChildProcess._handle.onexit (node:internal/child_process:291:12)
22:48:47.298 | Failed: build command exited with code: 1
22:48:48.679 | Failed: error occurred while running build command
I wonder if this project can be build on Cloudflare Page or not. Is this just a bug or something else?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels