Open Nefcanto opened 6 days ago
This is fixed in #6888. Can you verify with the packages here: https://github.com/QwikDev/qwik/actions/runs/10960904575/job/30437326583#step:13:26
@wmertens, thank you so much for this fast response. Two notes:
@wmertens, I'm still stuck. Can you help with how should I use those packages?
@Nefcanto you have to replace the versions in package.json with the urls given there and then run your package manager (e.g. pnpm i)
@builder.io/qwik: npm i https://pkg.pr.new/@builder.io/qwik@ae09275 @builder.io/qwik-city: npm i https://pkg.pr.new/@builder.io/qwik-city@ae09275 eslint-plugin-qwik: npm i https://pkg.pr.new/eslint-plugin-qwik@ae09275 create-qwik: npm i https://pkg.pr.new/create-qwik@ae09275
Thanks, this solved my problem too.
vite v5.4.8 building for production... ✓ 1101 modules transformed. x Build failed in 3.49s error during build: [vite-plugin-qwik-post] Cannot read properties of undefined (reading 'fileName') at file:///Users/alessandrogimona/Git/qwik/preweb3-qwik/node_modules/@builder.io/qwik/dist/optimizer.mjs:1649:145 at Array.map (<anonymous>) at generateManifestFromBundles (file:///Users/alessandrogimona/Git/qwik/preweb3-qwik/node_modules/@builder.io/qwik/dist/optimizer.mjs:1649:108) at Object.generateManifest (file:///Users/alessandrogimona/Git/qwik/preweb3-qwik/node_modules/@builder.io/qwik/dist/optimizer.mjs:2374:24) at Object.handler (file:///Users/alessandrogimona/Git/qwik/preweb3-qwik/node_modules/@builder.io/qwik/dist/optimizer.mjs:6252:49) at file:///Users/alessandrogimona/Git/qwik/preweb3-qwik/node_modules/rollup/dist/es/shared/node-entry.js:19936:40 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Which component is affected?
Qwik Runtime
Describe the bug
npm run build
fails in my CI/CD with this message:npm run build
works in my local environment.I know it might be a problem related to our CI/CD. But, you should give us more details about this error. Right now, there is no data in this error related to my code.
Reproduction
I can't produce an MRE
Steps to reproduce
No response
System Info
Additional Information
No response