jspm / registry

The jspm registry and package.json override service
https://jspm.io
229 stars 256 forks source link

npm Debug package override not applying #1058

Open ben657 opened 6 years ago

ben657 commented 6 years ago

Installing npm:debug@^2.6.0 isn't pulling the override from npm/debug@2.6.0.json into my package.json. Doesn't seem to be anything wrong with the override file, not sure what would be wrong on my end though.

aluanhaddad commented 6 years ago

Try

$ jspm install npm:debug@^2.6.0 --force --override

Let me know if that resolves the issue. I tried with a new project and it works as expected.

ben657 commented 6 years ago

Using that force does work fine, odd that it wouldn't work in the first place though right?

aluanhaddad commented 6 years ago

Yes, that is odd, but you may have had an existing override.

It should not be necessary in general but it may have been cached incorrectly (for example by on older version of JSPM). This does happen from time to time and is clearly undesirable. It is not related to this specific package or to the registry I would think.