-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unpin command causing net error #224
Comments
The reason importmap-rails makes an API request when unpinning packages, is so that it can tell if there are any dependencies it needs to remove at the same time. It seems like POSTing {
"install": [ "uikit-icons" ],
"flattenScope": true,
"env": [ "module" ]
} just freezes. @guybedford would you have any idea what is causing this? Looking at the dependencies on NPM, there are less than 10 dependencies/subdependencies. |
@Caleb-T-Owens thanks for the ping, I'll look into it when I can, may not have time this weekend so might need to defer to next. |
@Caleb-T-Owens this package is now generating, although the generated import map is just an empty module because the package wasn't configured for a modular build with a valid For packages that aren't working like this, there is also the JSPM overrides repo which can be used to override the package.json configurations for packages that don't define their entry points correctly although this is very much a last resort when there are no other options - https://github.com/jspm/overrides. |
Trying to get rid of a difficult pin (see previous issue #223). Surprised it crashes out with an error. Why would unpin, which presumably just removes a line in a file, have to hit the Net (and why would it fail when the net is working fine)?
The text was updated successfully, but these errors were encountered: