Closed ar1em-k closed 1 year ago
Can you describe the steps to reproduce the issue?
@gioboa For me it was
npm run preview
minify:false
option to build options of vite.config.tsP.S. Now double checking git I've noticed that package-lock.json is changed compared to the state I pulled the repo yesterday. Deleting in and running npm i
again doesn't revert it to a state it was in git. Possibly one of the updates could break something in server. Just in case I created a git patch from all the changes compared to the git (I doubt autogenerated graphql schemas may be the problem, but better safe than sorry)
changes_compared_to_default.patch.txt
Fixed with this commit btw I will investigate more to update the lib.
@ar1em-k Thanks for your report 👍
The problem seems to be there, I will investigate
With Qwik 1.1.6 preview works, but with Qwik 1.2.0+ we have the issue. We only have one server$ function but even if we removed it the problem persists. I think could be a dependency clash with vite
it's really odd, now preview
is working 🤷♂️
Npm/Yarn start works fine, but when trying to run "preview" (and disabling minification so error is not gibberish) I'm getting "ReferenceError: Cannot access 'serverQrl' before initialization".
Almost every instance of serverQrl is in autogenerated js files so it's either a qwik/npm bug (Unlikely - everything worked fine when I tried running "preview" on the example qwik app), a problem with configuration, or a problem with adding qwik's lazy-loading where it doesn't fit,
P.S. This is the first qwik app I'm trying, so I'm not sure what else should I check for a better bug report (if you need more info, please say what I need to send)