Skip to content

fix: type error during build#883

Merged
vicb merged 1 commit intomainfrom
vicb/hf
Sep 9, 2025
Merged

fix: type error during build#883
vicb merged 1 commit intomainfrom
vicb/hf

Conversation

@vicb
Copy link
Copy Markdown
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)
    [...]

@changeset-bot
Copy link
Copy Markdown

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

@pkg-pr-new
Copy link
Copy Markdown

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
Copy Markdown
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