Closed NachoVazquez closed 1 year ago
When running the Cloudflare adapter generator
nx generate qwik-nx:cloudflare-pages-integration <app-name>
we have a couple of issues:
cloudflarePagesAdapter
cloudflarePagesAdaptor
staticGenerate: true
The generated configuration should be correct
No response
npx create-qwik-nx@latest
nx generate qwik-nx:app
adapters/cloudflare-pages/vite.config.ts
nx build <app-name>
Node : 16.19.0 OS : darwin arm64 pnpm : 8.2.0 Hasher : Native nx : 16.3.1 @nx/js : 16.3.2 @nx/linter : 16.3.1 @nx/workspace : 16.3.1 @nx/eslint-plugin : 16.3.1 @nx/react : 16.3.2 @nx/vite : 16.3.2 nx-cloud : 16.0.5 typescript : 5.0.2 --------------------------------------- Community plugins: @k11r/nx-cloudflare-wrangler : 2.0.0 qwik-nx : 1.0.4 --------------------------------------- The following packages should match the installed version of nx - @nx/js@16.3.2 - @nx/react@16.3.2 - @nx/vite@16.3.2 To fix this, run `nx migrate nx@16.3.2`
Current Behavior
When running the Cloudflare adapter generator
we have a couple of issues:
cloudflarePagesAdapter
is misspelled ascloudflarePagesAdaptor
staticGenerate: true
options doesn't exists anymoreExpected Behavior
The generated configuration should be correct
GitHub Repo
No response
Steps to Reproduce
npx create-qwik-nx@latest
b.nx generate qwik-nx:app
nx generate qwik-nx:cloudflare-pages-integration <app-name>
adapters/cloudflare-pages/vite.config.ts
and try to build withnx build <app-name>
Nx Report
Failure Logs
No response
Additional Information
No response