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

Cannot import from npm. #567

Open
Ross-Esmond opened this issue Oct 13, 2023 · 1 comment
Open

Cannot import from npm. #567

Ross-Esmond opened this issue Oct 13, 2023 · 1 comment

Comments

@Ross-Esmond
Copy link

I'm getting the error

npm package 'chance?ssr&v=lnoso8ht' does not exist

It looks like npm imports are broken in aleph, as aleph is adding a query string for deno that doesn't work with npm imports.

Code is

import Chance from "npm:chance";
@Ross-Esmond
Copy link
Author

If no one else is getting this issue it should be closed. I tried installing from NPM outside of aleph.js but it failed until I disabled IPv6 on my OS. Disabling IPV6 in the terminal in which I run deno task dev doesn't help, however, so I'm not sure if the two issues are related.

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

1 participant