You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a new qwik project using npm create vite@latest, and chose the qwik typescript template.
I had to change the package.json to install vite 5 instead of 6 due to a peer dependency issue.
But then when I ran npm run build, I get the following error:
error during build:
[vite-plugin-qwik-post] The "paths[1]" argument must be of type string. Received null
TypeError [PLUGIN_ERROR]: The "paths[1]" argument must be of type string. Received null
at Module.resolve (node:path:1186:7)
at generateManifestFromBundles (file:///Users/ianvs/code/experiments/qwik-ts/node_modules/@builder.io/qwik/dist/optimizer.mjs:1671:26)
at Object.generateManifest (file:///Users/ianvs/code/experiments/qwik-ts/node_modules/@builder.io/qwik/dist/optimizer.mjs:2402:24)
at Object.handler (file:///Users/ianvs/code/experiments/qwik-ts/node_modules/@builder.io/qwik/dist/optimizer.mjs:6290:49)
at file:///Users/ianvs/code/experiments/qwik-ts/node_modules/rollup/dist/es/shared/node-entry.js:21835:40
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Which component is affected?
Qwik Rollup / Vite plugin
Describe the bug
I created a new qwik project using
npm create vite@latest
, and chose the qwik typescript template.I had to change the
package.json
to install vite 5 instead of 6 due to a peer dependency issue.But then when I ran
npm run build
, I get the following error:Reproduction
https://github.com/IanVS/qwik-vite-plugin-bug-repro
Steps to reproduce
npm install
npm run build
System Info
Additional Information
This was previously opened as a bug in Vite, but closed: vitejs/vite#18023
The text was updated successfully, but these errors were encountered: