Skip to content
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

Skypack Malformed URLs #185

Closed
AngelMunoz opened this issue Oct 9, 2022 · 2 comments
Closed

Skypack Malformed URLs #185

AngelMunoz opened this issue Oct 9, 2022 · 2 comments

Comments

@AngelMunoz
Copy link

Hello there, I found out a very likely bug when using skypack as the provider in the Jspm generator API

making a request like the following

curl -X POST \
	'https://api.jspm.io/generate' \
	-d '"{\r\n  \"install\": [\r\n    \"react\"\r\n  ],\r\n  \"provider\": \"skypack\"\r\n}"'

gives back this response

{
  "error": "Error: Module not found: https://cdn.skypack.dev/-/react@v17.0.1-yH0aYV1FOvoIPeKBbHxg/dist=es2019,mode=raw/index.js/index.js imported from https://cdn.skypack.dev/react@18.2.0/index.js/index.js"
}

This response happens as well for many other packages like lodash, bootstrap and others.

@Aslemammad
Copy link
Member

I'm working on this, Hope I can deliver it soon.

@guybedford
Copy link
Member

We landed some Skypack fixes in #191. I believe that should have resolved this issue now, but please do update on this if that is not the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants