Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qwik template doesn't build #18023

Closed
7 tasks done
dustinlacewell opened this issue Sep 4, 2024 · 1 comment
Closed
7 tasks done

Qwik template doesn't build #18023

dustinlacewell opened this issue Sep 4, 2024 · 1 comment

Comments

@dustinlacewell
Copy link

Describe the bug

The project created by selecting qwik does not build.

vite v5.4.3 building for production...
✓ 13 modules transformed.
x Build failed in 364ms
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 new NodeError (node:internal/errors:405:5)
    at validateString (node:internal/validators:162:11)
    at Module.resolve (node:path:167:9)
    at generateManifestFromBundles (file:///D:/code/ts/qwik-test/node_modules/@builder.io/qwik/dist/optimizer.mjs:1628:26)
    at Object.generateManifest (file:///D:/code/ts/qwik-test/node_modules/@builder.io/qwik/dist/optimizer.mjs:2354:24)
    at Object.handler (file:///D:/code/ts/qwik-test/node_modules/@builder.io/qwik/dist/optimizer.mjs:6219:49)
    at file:///D:/code/ts/qwik-test/node_modules/rollup/dist/es/shared/node-entry.js:19918:40
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    ```

### Reproduction

Just make a project

### Steps to reproduce

`npm create vite@latest`

select `qwik`, run `npm i` then `npm run build`

### System Info

```shell
System:
    OS: Windows 11 10.0.22631
    CPU: (16) x64 12th Gen Intel(R) Core(TM) i5-12600KF
    Memory: 38.18 GB / 63.86 GB
  Binaries:
    Node: 18.20.3 - B:\installs\nodejs\node.EXE
    npm: 10.7.0 - B:\installs\nodejs\npm.CMD
    pnpm: 9.6.0 - B:\installs\nodejs\pnpm.CMD
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    vite: ^5.4.1 => 5.4.3

Used Package Manager

npm

Logs

No response

Validations

@sapphi-red
Copy link
Member

The error happens with Vite 5.0.0 so it's probably a bug in qwik. I'd suggest opening an issue at https://github.com/QwikDev/qwik.

It seems a different error happens with vite dev, too.

@sapphi-red sapphi-red closed this as not planned Won't fix, can't repro, duplicate, stale Sep 4, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Sep 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants