Skip to content

"npm build" is not working correctly on Windows #1558

Closed
@JaroslawLegierski

Description

@JaroslawLegierski

Question

When I building project (latest master) on Windows (Windows 10 Pro 22H2) process node.exe hangs during following command execution:

[INFO] Running 'yarn build' in C:\ ..... repo\leshan\leshan-server-demo\webapp
[INFO] yarn run v1.22.19
[INFO] $ vite build --emptyOutDir
[INFO] vite v5.0.2 building for production...
[INFO] transforming...

During the Windows system trace, I noticed that node.exe was looking for a file package.json in C:\

I found temporary workaround by coping package.json from \leshan-server-demo\webapp\ to the C:\ 😉

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDysfunctionnal behaviorbuild / ciAll about Build or Continious Integrationhelp wantedAny help from community is wanted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions