You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vite v5.3.5 building for lib...
✓ 3 modules transformed.
lib/index.qwik.mjs 2.80 kB │ gzip: 0.85 kB
lib/index.qwik.cjs 2.96 kB │ gzip: 0.89 kB
✓ built in 42ms
⚛️ supabase-auth-helpers-qwik
packages/docs/src/repl/worker/repl-dependencies.ts:51:3 - error TS2740: Type '{ isServer: true; isBrowser: false; isDev: false; }' is missing the following properties from type 'typeof import("/Users/nemanjamiljkovic/Desktop/qwik/packages/qwik/dist/core")': getLocale, useServerData, withLocale, $, and 86 more.
51 self.qwikBuild = {
~~~~~~~~~~~~~~
Found 2 errors in the same file, starting at: packages/docs/src/repl/worker/repl-dependencies.ts:2
Hi @gioboa, I have tried to reproduce the error on Stackblitz and CodeSandbox, but without success. I can't set up the same environment. I've updated the link to the forked repo of Qwik. Essentially, I cloned the project locally and followed the setup instructions from Contributing.md, but the pnpm build.local command fails with a TS error as shown above. I was trying to run pnpm docs.dev because I'm working on drag-and-drop examples for the Cookbook. I'm not blocked because I was able to resolve it as I showed above.
Which component is affected?
Qwik Runtime
Describe the bug
When I run pnpm build.local during build this error appears:
`> [email protected] build /Users/nemanjamiljkovic/Desktop/qwik/packages/supabase-auth-helpers-qwik
vite v5.3.5 building for lib...
✓ 3 modules transformed.
lib/index.qwik.mjs 2.80 kB │ gzip: 0.85 kB
lib/index.qwik.cjs 2.96 kB │ gzip: 0.89 kB
✓ built in 42ms
⚛️ supabase-auth-helpers-qwik
packages/docs/src/repl/worker/repl-dependencies.ts:51:3 - error TS2740: Type '{ isServer: true; isBrowser: false; isDev: false; }' is missing the following properties from type 'typeof import("/Users/nemanjamiljkovic/Desktop/qwik/packages/qwik/dist/core")': getLocale, useServerData, withLocale, $, and 86 more.
51 self.qwikBuild = {
~~~~~~~~~~~~~~
Found 2 errors in the same file, starting at: packages/docs/src/repl/worker/repl-dependencies.ts:2
❌ Error: Command failed with exit code 2: tsc -p packages/docs/tsconfig.json`
I was able to resolve it with:
Reproduction
https://github.com/byte-barista/qwik
Steps to reproduce
pnpm install && pnpm build.local
System Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: