#Using NPM with DeployCTL

5 messages · Page 1 of 1 (latest)

fleet otter
#

Hey! I was wondering how I can use NPM with DeployCTL. I can use the NPM specifier in my file (for eg. npm:express), but when I try to deploy with it I get the error error: The deployment failed: Module not found "npm:express".

Cheers

quiet oriole
#

Probably won't be supported on deploy until February.
#deploy™ message

fleet otter
quiet oriole
#

no. I believe there is a deno module similar to express. I personally would recommend oak, it's similar to koa from node and it's one of the most popular modules for deno.

#

you would be able to use npm modules including express with deno if you just host it on a vps instead of using deploy. digital ocean has a cheap vps.