keystonejs-contrib / k6-contrib

Keyston-6 contrib
MIT License
35 stars 18 forks source link

NPM install breaks #23

Closed vonba closed 2 years ago

vonba commented 2 years ago

I'm unable to install the package @k6-contrib/fields-s3.

Running npm install @k6-contrib/fields-s3 yields the following error:

code EINVALIDTAGNAME
Invalid tag name ">=^1.0.0": Tags may not have any characters that encodeURIComponent encodes.

I get the same error installing @k6-contrib/fields-azure

npm version 8.1.2

gautamsi commented 2 years ago

see https://github.com/keystonejs-contrib/k6-contrib/issues/22#issuecomment-1019232164

vonba commented 2 years ago

@gautamsi Thank you for your reply. The package seems to install ok on my machine when adding --legacy-peer-deps, but I'm worried about implications when deploying to an external host. Is it likely you'll be able to fix this issue anytime soon?

gautamsi commented 2 years ago

I am currently away but will be able to accept PR, should be simple one.

vonba commented 2 years ago

I sadly wouldn't know how to fix this myself

vonba commented 2 years ago

The workaround does seem to allow me to build on the external server though, so this solves the issue for me for now.