onwidget / qwind

⭕️ Qwind: A template to make your website using Qwik + Tailwind CSS.
https://qwind.pages.dev
MIT License
250 stars 70 forks source link

Fresh install, after build, preview doesnt run. #15

Closed ohbob closed 1 year ago

ohbob commented 1 year ago

On clean install, after npm install, npm run build, npm run preview returns an error.

ReferenceError: Cannot access 'bp' before initialization

awaddell commented 1 year ago

On clean install, after npm install, npm run build, npm run preview returns an error.

ReferenceError: Cannot access 'bp' before initialization

+1

This appears to have originated with qwik 1.2.0 introduced in c6039a2 and exists in the latest 1.2.5 also and so I think it is a breaking change that needs some refactoring.

I've resolved it temporarily by reverting to the previous minor version

  "dependencies": {
    "@builder.io/qwik": "1.1.5",
    "@builder.io/qwik-city": "1.1.5"
prototypa commented 1 year ago

Hi @ohbob and @awaddell

Thank you for this.

This template started with the early days of Qwik and had some outdated configuration files and functions. I just updated it: https://github.com/onwidget/qwind/commit/8a89aa8587684809774c25fe49d455400575e8a6