-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
This is a re-issue of #491, because the problem did not go away by itself.
Basically:
- Add a package to a blitz
- I think you need to attempt to install a new version explicitly before publishing or before publish has propagated. I am pretty sure I did that.
- Publish a new version to NPM
- StackBlitz cannot find the new version when you try to install it, explicitly or through an update.
Example blitz where this is happening:
- https://stackblitz.com/edit/angular-7fkpzq-y7hb79
- Has version
[email protected]
, we want to upgrade to[email protected]
2.0.2
was published 5 days ago, and the blitz is still stuck.- I can install
v2.0.2-0
just fine, explicitly or with the@next
dist-tag.
Step 4 is impossible to achieve. Here are 3 ways you might try:
- If you refresh, it does not find the new version.
- If you delete and re-add, it does not find the new version.
- If you delete and re-add with an explicit version like
[email protected]
, the UI comes up with an error saying "Failure: unsatisfied version range. Unable to resolve package[email protected]
".
That Step 2 is necessary leads me to believe that StackBlitz/turbo is caching 4xx/5xx responses from NPM, which is wrong.
kumaresan-subramani, maxokorokov, klemenoslaj, komarovalexander, MurhafSousli and 3 morekumaresan-subramani and klemenoslajkomarovalexander