vendure-ecommerce / storefront-qwik-starter

An e-commerce storefront starter built with Qwik and Vendure
https://qwik-storefront.vendure.io
227 stars 86 forks source link

Failed to load @builder.io/qwik-labs dependency on startup #160

Closed yohamta closed 1 month ago

yohamta commented 2 months ago

Description

When starting the development server, an error occurs while loading the @builder.io/qwik-labs dependency. The error is displayed directly in the browser window, preventing the application from loading properly.

Screenshot

image

Error Message

Failed to load url /node_modules/.pnpm/@builder.io+qwik-labs@[git+https+++git@github.com](mailto:git+https+++git@github.com)+BuilderIo+qwik-labs-build.git#36582dc0_i5v7r4c62lx7nepuxqskt7i55m/node_modules/@builder.io/qwik-labs/lib/index.qwik.mjs (resolved id: /path/to/the/repo/storefront-qwik-starter/node_modules/.pnpm/@builder.io+qwik-labs@[git+https+++git@github.com](mailto:git+https+++git@github.com)+BuilderIo+qwik-labs-build.git#36582dc0_i5v7r4c62lx7nepuxqskt7i55m/node_modules/@builder.io/qwik-labs/lib/index.qwik.mjs) in /path/to/the/repo/storefront-qwik-starter/src/components/head/head.tsx. Does the file exist?

Steps to Reproduce

  1. Clone the storefront-qwik-starter repository
  2. Run pnpm install
  3. Start the development server by running pnpm start
  4. Open http://localhost:5173/ in a browser

Environment

Additional Information

Questions

  1. Is this a known issue with the current version of @builder.io/qwik-labs?
  2. Are there any specific version requirements for @builder.io/qwik-labs that I should be aware of?
  3. Could this be related to how pnpm is resolving Git dependencies?

Any assistance in resolving this issue would be greatly appreciated. Thank you!

gioboa commented 2 months ago

Can you try with the latest version of Qwik packages please?

friedger commented 1 month ago

Not sure which versions to put. My trials fails, therefore I removed quik-labs.

It would be nice to have a working solution when cloning the repo.

gioboa commented 1 month ago

Let's remove qwik-labs. I'll create a PR for that

gioboa commented 1 month ago

Fixed by https://github.com/vendure-ecommerce/storefront-qwik-starter/commit/20f39871ce03ba008578413e587340908a21960c