Skip to content

Conversation

vicb
Copy link
Contributor

@vicb vicb commented Sep 9, 2025

Fix this error with 1.8.1:

TypeError: Cannot read properties of undefined (reading 'default')
    at get #hasAutomaticCachePurging (file:///private/var/folders/hv/nckx8r6d7px_xx1kcb4vg0pm0000gn/T/open-next-tmpv3ohFm/open-next.config.mjs:482:55)
    at new RegionalCache (file:///private/var/folders/hv/nckx8r6d7px_xx1kcb4vg0pm0000gn/T/open-next-tmpv3ohFm/open-next.config.mjs:473:89)
    at withRegionalCache (file:///private/var/folders/hv/nckx8r6d7px_xx1kcb4vg0pm0000gn/T/open-next-tmpv3ohFm/open-next.config.mjs:569:10)
    at file:///private/var/folders/hv/nckx8r6d7px_xx1kcb4vg0pm0000gn/T/open-next-tmpv3ohFm/open-next.config.mjs:588:21
    at ModuleJob.run (node:internal/modules/esm/module_job:274:25)
    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:644:26)
    [...]

Copy link

changeset-bot bot commented Sep 9, 2025

🦋 Changeset detected

Latest commit: 3ba0912

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@opennextjs/cloudflare Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

pkg-pr-new bot commented Sep 9, 2025

Open in StackBlitz

npm i https://pkg.pr.new/@opennextjs/cloudflare@883

commit: 3ba0912

@vicb
Copy link
Contributor Author

vicb commented Sep 9, 2025

Thanks for the reviews!

@vicb vicb merged commit bf1a6f6 into main Sep 9, 2025
7 checks passed
@vicb vicb deleted the vicb/hf branch September 9, 2025 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants