some peer dependencies are incorrectly met with sveltekit

Hey all im currently getting some strange issues when building in cloudflare, issues dont seem to happen in vercel and locally they are just warnings and work fine, any ideas on this failing, i have set YARN_VERSION to 3 aswell but still same issue
1 Reply
sanser
sanserOP6mo ago
YN0000: ┌ Resolution step
11:56:37.472 ➤ YN0032: │ fsevents@npm:2.3.3: Implicit dependencies on node-gyp are discouraged
11:56:37.693 ➤ YN0061: │ npmlog@npm:5.0.1 is deprecated: This package is no longer supported.
11:56:37.714 ➤ YN0061: │ glob@npm:7.2.3 is deprecated: Glob versions prior to v9 are no longer supported
11:56:37.867 ➤ YN0061: │ rimraf@npm:3.0.2 is deprecated: Rimraf versions prior to v4 are no longer supported
11:56:37.887 ➤ YN0061: │ are-we-there-yet@npm:2.0.0 is deprecated: This package is no longer supported.
YN0000: ┌ Resolution step
11:56:37.472 ➤ YN0032: │ fsevents@npm:2.3.3: Implicit dependencies on node-gyp are discouraged
11:56:37.693 ➤ YN0061: │ npmlog@npm:5.0.1 is deprecated: This package is no longer supported.
11:56:37.714 ➤ YN0061: │ glob@npm:7.2.3 is deprecated: Glob versions prior to v9 are no longer supported
11:56:37.867 ➤ YN0061: │ rimraf@npm:3.0.2 is deprecated: Rimraf versions prior to v4 are no longer supported
11:56:37.887 ➤ YN0061: │ are-we-there-yet@npm:2.0.0 is deprecated: This package is no longer supported.
11:56:41.769 ➤ YN0000: └ Completed in 5s 780ms
11:56:41.809 ➤ YN0000: ┌ Post-resolution validation
11:56:41.809 ➤ YN0028: │ The lockfile would have been modified by this install, which is explicitly forbidden.
11:56:41.810 ➤ YN0000: └ Completed
11:56:41.810 ➤ YN0000: Failed with errors in 5s 822ms
11:56:41.858 Error: Exit with error code: 1
11:56:41.858 at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)
11:56:41.858 at Object.onceWrapper (node:events:652:26)
11:56:41.859 at ChildProcess.emit (node:events:537:28)
11:56:41.859 at ChildProcess._handle.onexit (node:internal/child_process:291:12)
11:56:41.869 Failed: build command exited with code: 1
11:56:43.368 Failed: error occurred while running build command
11:56:41.769 ➤ YN0000: └ Completed in 5s 780ms
11:56:41.809 ➤ YN0000: ┌ Post-resolution validation
11:56:41.809 ➤ YN0028: │ The lockfile would have been modified by this install, which is explicitly forbidden.
11:56:41.810 ➤ YN0000: └ Completed
11:56:41.810 ➤ YN0000: Failed with errors in 5s 822ms
11:56:41.858 Error: Exit with error code: 1
11:56:41.858 at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)
11:56:41.858 at Object.onceWrapper (node:events:652:26)
11:56:41.859 at ChildProcess.emit (node:events:537:28)
11:56:41.859 at ChildProcess._handle.onexit (node:internal/child_process:291:12)
11:56:41.869 Failed: build command exited with code: 1
11:56:43.368 Failed: error occurred while running build command
anyone facing this issue, the yarn version should be YARN_VERSION = 1.22 :)
Want results from more Discord servers?
Add your server