Skip to content

[BUG]: Need support for Astro v6 Beta #264

@mohammedzamakhan

Description

@mohammedzamakhan

varlock version

^0.1.0

Steps to reproduce

After migrating an Astro application from v5 to v6, I am getting errors. I had varlock running successfully before the migration.

What is expected?

For build to succeed.

What is actually happening?

16:36:22 [ERROR] [vite]
🚨 initVarlockEnv failed 🚨
try rerunning your command via varlock run

initVarlockEnv failed
Location:
/Users/zama/epic-stack/node_modules/varlock/src/runtime/env.ts:233:11
Stack trace:
at initVarlockEnv (/Users/zama/epic-stack/node_modules/varlock/src/runtime/env.ts:233:11)
at Object.runInlinedModule (workers/runner-worker.js:1314:4)
at CustomModuleRunner.cachedRequest (workers/runner-worker.js:1084:73)
at getWorkerEntryExportTypes (workers/runner-worker.js:1349:29)
at maybeCaptureError (workers/runner-worker.js:49:10)

System Info

npx envinfo --system --npmPackages

  System:
    OS: macOS 26.2
    CPU: (10) arm64 Apple M4
    Memory: 101.03 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  npmPackages:
    @astrojs/cloudflare: ^13.0.0-beta.0 => 13.0.0-beta.0 
    @types/node: ^22.19.6 => 22.19.7 
    astro: ^6.0.0-beta.0 => 6.0.0-beta.1

Any additional comments?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions