swc-project / pkgs

node.js packages for SWC
59 stars 19 forks source link

npm install: Unsupported URL Type link with @swc/jest 0.2.33 #13

Closed smollweide closed 9 months ago

smollweide commented 9 months ago

Hello,

when installing npm i @swc/jest the error Unsupported URL Type "link:": link:.. appears.

node: v20.11.0 npm: 10.2.4

works fine with @swc/jest 0.2.32.

introduced with this commit: 2ab0d0

Thank you

Jolg42 commented 9 months ago

I was coming here to report the same 😄

The last working version when using npm is @swc/jest@0.2.32, and it started to fail with 0.2.33 with Unsupported URL Type "link:": link:..

I found the failure in my GitHub Actions logs at https://github.com/prisma/prisma/actions/runs/7733397419/job/21106196387#step:5:150 Note that this workflow ran twice, the first time it worked, because it was using 0.2.32 and then rerunning failed because latest switched to 0.2.33 on npm. And I can reproduce locally.

Jolg42 commented 9 months ago

@kdy1 thanks for the quick fix 🙌🏼 💚