Can you show what errors exactly you are getting
Can you show what errors exactly you are getting
next-on-pages and getting this:bindings and it works, possibly the API allows for bothnext build for my static site and I'm seeing double the amount of files counting towards my limit for each webpage. Upon inspection there seems to be extra .meta and .rsc files when building how can I disable non essential static site files like these? Also does Cloudflare Pages have an option for us to check what files are generated and distributed on their CDN after a build is finished?/out/ contains .txt files for each dynamic route page... not sure what these are but will investigate getting rid of them and my problem is fixedpath setting in the config for the next image? the closest i see in the docs is remote patterns and loaders which seems the path .txt files being created for each page due to using App Router reverting to Pages Router fixes this.output: 'export' so I'm back to square one *.txt files at the end and see how that goesapp.mydomain.com, blog on blog.mydomain.com, landing page on mydomain.com)
KV namespace, then it is valid behaviour that it returns void. It will throw an error if something goes wrongtry/catch

Resolution step
06:44:47.082 ➤ YN0032: │ fsevents@npm:2.3.2: Implicit dependencies on node-gyp are discouraged
06:44:51.988 ➤ YN0002: │ profile@workspace:. doesn't provide @next/env (p6dac0), requested by next-sitemap
06:44:51.989 ➤ YN0002: │ react-vertical-timeline-component@npm:3.6.0 doesn't provide react (p5d41b), requested by react-intersection-observer
06:44:51.989 ➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
06:44:51.993 ➤ YN0000: └ Completed in 8s 10ms
06:44:52.034 ➤ YN0000: ┌ Post-resolution validation
06:44:52.034 ➤ YN0028: │ The lockfile would have been modified by this install, which is explicitly forbidden.
06:44:52.035 ➤ YN0000: └ Completed
06:44:52.035 ➤ YN0000: Failed with errors in 8s 54ms
06:44:52.100 Error: Exit with error code: 1
06:44:52.100 at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)
06:44:52.101 at Object.onceWrapper (node:events:652:26)
06:44:52.101 at ChildProcess.emit (node:events:537:28)
06:44:52.101 at ChildProcess._handle.onexit (node:internal/child_process:291:12)
06:44:52.109 Failed: build command exited with code: 1
06:44:53.264 Failed: error occurred while running build commandnext-on-pagesTypeError: Cannot convert undefined or null to object
at Function.entries (<anonymous>)
at instantiateMiniflare (/node_modules/.pnpm/@cloudflare+next-on-pages@1.8.5_vercel@32.7.2_wrangler@3.22.4/node_modules/@cloudflare/next-on-pages/dist/next-dev/index.cjs:5877:12)
at setupDevBindings (/node_modules/.pnpm/@cloudflare+next-on-pages@1.8.5_vercel@32.7.2_wrangler@3.22.4/node_modules/@cloudflare/next-on-pages/dist/next-dev/index.cjs:5868:20)if (process.env.NODE_ENV === "development") {
const { setupDevBindings } = require("@cloudflare/next-on-pages/next-dev");
setupDevBindings({
r2Buckets: {
CLOUDFLARE_BUCKET: "CLOUDFLARE_BUCKET",
},
kvNamespaces: {
CLOUDFLARE_KV: "CLOUDFLARE_KV",
},
d1Databases: {
CLOUDFLARE_D1: "CLOUDFLARE_D1",
},
MY_DO: {
type: "durable-object",
service: {
name: "CLOUDFLARE_DO",
},
className: "Counter",
},
});
}setupDevBindings({
bindings: {
// MY_KV: {
// type: "kv",
// id: "MY_KV",
// },
MY_D1: {
type: 'd1',
id: 'MY_D1'
}
},
}); d1Databases: {
MY_D1: undefined,
^ Required
},setupDevBindings({
'MY_D1': {
type: 'd1',
databaseName: 'MY_D1'
}
},
});bindingssetupDevBindings({
bindings: {
'MY_D1': {
type: 'd1',
databaseName: 'locations-db'
}
},
});next build.meta.rsc/out/remote patternsloadersoutput: 'export'*.txtapp.mydomain.comblog.mydomain.commydomain.comKVsetupDevBindings({
bindings: {
'MY_KV': {
type: 'kv',
id: 'MY_KV'
},
},
});