System:
OS: Linux 6.10 Fedora Linux 40 (Workstation Edition)
CPU: (4) x64 Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz
Memory: 5.31 GB / 15.48 GB
Container: Yes
Shell: 5.2.26 - /bin/bash
Binaries:
Node: 22.5.1 - ~/.nvm/versions/node/v22.5.1/bin/node
Yarn: 1.22.22 - /usr/bin/yarn
npm: 10.9.0 - ~/.nvm/versions/node/v22.5.1/bin/npm
bun: 1.1.22 - ~/.bun/bin/bun
npmPackages:
@auth/qwik: 0.2.2 => 0.2.2
https://github.com/ShererJohn/qwiklab
Whenever a Link component goes to a page that imports plugin@auth it breaks.
SyntaxError: The requested module '/node_modules/cookie/index.js?v=da1814f6' does not provide an export named 'parse' (at jwt.js?v=da1814f6:42:10)
-
This bug only effects the link component. If you use an
aelement instead of aLinkcomponent the page will load. The functionality of the plugin is uneffected. -
This bug presists even if you're not using the jwt session strategy
git clone https://github.com/ShererJohn/qwiklab.git
cd ./qwiklab
next add these env variables
AUTH_SECRET=
AUTH_GOOGLE_ID=
AUTH_GOOGLE_SECRET=
You can change the provider if you want.
Then run npm run dev, open the index page, and then click the link named "Problem link"
The Link component is supposed to go to the linked page.