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

Panic on @material-ui/styles import #5

Closed
Soremwar opened this issue Dec 15, 2020 · 8 comments
Closed

Panic on @material-ui/styles import #5

Soremwar opened this issue Dec 15, 2020 · 8 comments
Labels
bug Something isn't working

Comments

@Soremwar
Copy link

Importing https://cdn.esm.sh/v9/@material-ui/styles@4.11.2/withStyles.d.ts (dependency of @material-ui/core) will result in the following

/* esm.sh - error */
throw new Error("[esm.sh] " + "yarn: warning package.json: No license field\nwarning No license field\nerror An unexpected error occurred: \"https://registry.yarnpkg.com/@material-ui%2fstyles/withStyles.d.ts: Request \\\"https://registry.yarnpkg.com/@material-ui%2fstyles/withStyles.d.ts\\\" returned a 405\".\n");
export default null;
@ije
Copy link
Member

ije commented Dec 15, 2020

@Soremwar
Copy link
Author

@Soremwar
Copy link
Author

@ije
Copy link
Member

ije commented Dec 15, 2020

@Soremwar thanks, i will fix it ASAP.

@ije ije added the bug Something isn't working label Dec 15, 2020
@ije
Copy link
Member

ije commented Dec 15, 2020

@Soremwar please try deno cache --reload https://esm.sh/@material-ui/core@4.11.2?external=react@17.0.1, i just updated the server if any error outputed please do tell me, thanks

@Soremwar
Copy link
Author

Wow that was fast

No more compile errors! Only a runtime error :(
image

@ije
Copy link
Member

ije commented Dec 15, 2020

most of web packages in npm don't do compatibility for deno, need time i guess...

@Soremwar
Copy link
Author

I understand. Keep up the good work!

ije pushed a commit that referenced this issue Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants