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 deploy deno project with scoped npm module #316

Closed
sgohlke opened this issue Nov 26, 2022 · 2 comments
Closed

Cannot deploy deno project with scoped npm module #316

sgohlke opened this issue Nov 26, 2022 · 2 comments

Comments

@sgohlke
Copy link

sgohlke commented Nov 26, 2022

I tried to link my project https://github.com/sgohlke/deno-graphql/ (entry point: webserver.ts) to Deno Deploy and got an error
"Error The deployment failed: Module not found "npm:@dreamit/graphql-server@3.0.0".". I tried with both "npm:@dreamit/graphql-server" and "npm:@dreamit/graphql-server@3.0.0" but it does not deploy. Locally it is working fine.

@mehmetuken
Copy link

Deploy has no support yet npm packages.

https://deno.com/blog/npm-and-deno-anywhere

Yes, Deno Deploy is an excellent choice to host your Deno code, especially if you want it to be executed close to your users on the edge. Deploying to our V8 isolate cloud takes seconds and can be accessed around the world within seconds. Also, npm specifiers aren't currently supported in Deploy, but will be soon.

@satyarohith
Copy link
Member

Duplicate of #314

@satyarohith satyarohith marked this as a duplicate of #314 Feb 13, 2023
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