qwik icon indicating copy to clipboard operation
qwik copied to clipboard

[🐞] Cannot build in v1.1.0 with Windows

Open rootEnginear opened this issue 1 year ago • 10 comments

Which component is affected?

Qwik Rollup / Vite plugin

Describe the bug

Cannot build Qwik app even on fresh new application.

Could not resolve entry module "src/s_ebq0vfsfksk.js".
error during build:
RollupError: Could not resolve entry module "src/s_ebq0vfsfksk.js".
    at error (file:///D:/Desktop/qwik-app/node_modules/rollup/dist/es/shared/node-entry.js:2125:30)
    at ModuleLoader.loadEntryModule (file:///D:/Desktop/qwik-app/node_modules/rollup/dist/es/shared/node-entry.js:23959:20)
    at async Promise.all (index 0)

Reproduction

https://stackblitz.com/edit/qwik-starter-abdeqn?file=package.json

Steps to reproduce

  1. npm create qwik@latest
  2. Select Empty App (QwikCity) (Basic App (QwikCity) is bugged too, other are not tested yet)
  3. cd qwik-app
  4. yarn
  5. yarn build
  6. Done

System Info

System:
    OS: Windows 10 10.0.19044
    CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
    Memory: 5.13 GB / 15.89 GB
  Binaries:
    Node: 18.16.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - C:\Program Files\nodejs\yarn.CMD
    npm: 9.5.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (113.0.1774.35)
    Internet Explorer: 11.0.19041.1566
  npmPackages:
    @builder.io/qwik: ^1.1.0 => 1.1.0
    @builder.io/qwik-city: ^1.1.0 => 1.1.0
    undici: 5.22.0 => 5.22.0
    vite: 4.3.5 => 4.3.5

Additional Information

No response

rootEnginear avatar May 10 '23 05:05 rootEnginear

I cant reproduce, is this only happening in Windows? are u using the linux sub system?

manucorporat avatar May 10 '23 09:05 manucorporat

Added a new e2e test and we can reproduce, working on 1.1.1. If you are in Windows, please downgrade to 1.0.0

manucorporat avatar May 10 '23 10:05 manucorporat

Downgraded to 1.0.0, still same issue

irg1008 avatar May 10 '23 23:05 irg1008

this issue still in 1.0.0 for me too

Could not resolve entry module "src/s_ebq0vfsfksk.js".
error during build:
RollupError: Could not resolve entry module "src/s_ebq0vfsfksk.js".
    at error (file:///C:/Users/luism/Desktop/LuisCoderDev/proyects/qwik-scss/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:2125:30)
    at ModuleLoader.loadEntryModule (file:///C:/Users/luism/Desktop/LuisCoderDev/proyects/qwik-scss/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:23959:20)

here is my stack trace of the error of the build

TheElegantCoding avatar May 11 '23 01:05 TheElegantCoding

same issue since yesterday

markjkaem avatar May 11 '23 09:05 markjkaem

Should be fixed in 1.1.1, make sure to update qwik and qwik-city

manucorporat avatar May 11 '23 10:05 manucorporat

Worked for me! Thank you for your support. 🥳

rootEnginear avatar May 11 '23 11:05 rootEnginear

Should be fixed in 1.1.1, make sure to update qwik and qwik-city

Works, thanks for your effort :)

markjkaem avatar May 11 '23 16:05 markjkaem

Still doesn't work for me, the same error. npm run preview on just downloaded npm create latest, blank app or with demo example, with dependencies included.

With 1.0.0 and 1.1.1 both tried. Windows 10

alimrb avatar May 11 '23 16:05 alimrb

@manucorporat Outstanding job, as always, thank you!

irg1008 avatar May 11 '23 18:05 irg1008

Still doesn't work for me, the same error. npm run preview on just downloaded npm create latest, blank app or with demo example, with dependencies included.

With 1.0.0 and 1.1.1 both tried. Windows 10

another machine, same situation works fine with 1.1.1

alimrb avatar May 11 '23 20:05 alimrb

Still doesn't work for me, the same error. npm run preview on just downloaded npm create latest, blank app or with demo example, with dependencies included.

With 1.0.0 and 1.1.1 both tried. Windows 10

The problem was node js version. With Current version of node js, preview failed, I reinstalled the recommended version, it works.

alimrb avatar May 12 '23 06:05 alimrb

which version of node failed? u got new other error?

manucorporat avatar May 12 '23 18:05 manucorporat

it seems node cdn is down but anyway from nodejs.org:

image

alimrb avatar May 19 '23 09:05 alimrb