Skip to content

[🐞] npm run build.server not working as expected #8031

@mapp113

Description

@mapp113

Which component is affected?

Qwik City (routing)

Describe the bug

I created a new app with npm create qwik@latest
Add static adapter npm run qwik add static
Add route apple in src

Image

Then run npm run build.server
Folder apple is missing in dist

Image

This behavior happens most of the time i build.

Reproduction

https://github.com/mapp113/qwik-app

Steps to reproduce

run npm run build.server

System Info

System:
    OS: Windows 11 10.0.26100
    CPU: (12) x64 11th Gen Intel(R) Core(TM) i5-11400H @ 2.70GHz
    Memory: 5.90 GB / 15.78 GB
  Binaries:
    Node: 22.20.0 - C:\Program Files\nodejs\node.EXE
    npm: 11.6.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (140.0.3485.54)
    Internet Explorer: 11.0.26100.1882

Additional Information

When i run npm run build

The console give me Error: Command failed with exit code 3221226356: npm run build.server

Image

Metadata

Metadata

Labels

Type

No type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions