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

Failed to import - ts-morph #424

Closed
paulshen opened this issue Sep 27, 2022 · 1 comment
Closed

Failed to import - ts-morph #424

paulshen opened this issue Sep 27, 2022 · 1 comment
Labels
browser Not working in Browser bug Something isn't working

Comments

@paulshen
Copy link

Failing module

import 'https://esm.sh/ts-morph'

Error message

When importing ts-morph, I see a subsequent request to https://esm.sh/v95/@ts-morph/[email protected]/es2022/common.js return a 500. When I open in new tab, I see the following error.

/* esm.sh - error */
throw new Error("[esm.sh] " + "npm: can't get metadata of package 'os-browserify/browser' (405 Method Not Allowed: {\"code\":\"MethodNotAllowedError\",\"message\":\"GET is not allowed\"})");
export default null;

This import used to work although I don't know what changed. https://esm.sh/ts-morph

Additional info

  • esm.sh version: 95
  • Browser version: Arc Version 0.69.0 (34772)
    Chromium Engine Version 105.0.5195.127
@paulshen paulshen added the browser Not working in Browser label Sep 27, 2022
@ije
Copy link
Member

ije commented Sep 28, 2022

thanks! i will look into it

@ije ije added the bug Something isn't working label Sep 28, 2022
@ije ije closed this as completed in 80b9ffc Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser Not working in Browser bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants