Tom Fuertes

Results 5 comments of Tom Fuertes

Note: Just for SEO help. Probably not a final resolution Had this error when browserslist wasn't defined in either `package.json` or `.browserslistrc` per details in README here: https://github.com/browserslist/browserslist

@katopz `export const onRequest: PagesFunction = async (context) => {`

Hypothesis is the "splitter" is disabling `pragma disable_foreign_key = on` at top of export when running in batch https://github.com/cloudflare/workers-sdk/blob/main/packages/wrangler/src/d1/execute.ts#L302

Played around with the splitter and tried prepending pragma things. Don't know d1 enough. Awful but working workaround callable in our npm run db:restore-from-dump: ```js const dbDir = path.join(process.cwd(), '.wrangler',...