Bloxs
Running Fresh app on Windows with pm2
I'm trying to run a fresh project in a production environment (windows server) but for some reason whenever I run deno via pm2 it panics with a "The handle is invalid (OS Error 6)" message when I try to run it. I was also able to reproduce this on a regular windows 11 install. Interestingly I'm unable to reproduce this on a mac device which I used to develop the website. Is there some sort of config setting I need to enable for pm2 other than specifying deno as the interpreter?
I'm using deno 2.0.3
3 replies
Deno LSP doesn't recognize workspaces as imports
For some reason the vscode plugin for deno says this code is invalid even though it runs perfectly fine via the cli.
mod.ts:
deno.jsonc:
./test/mod.ts
./test/deno.jsonc
When I run mod.ts via the cli I get 3 which is expected but the vscode lsp says
Relative import path "@mypackage/test" not prefixed with / or ./ or ../
4 replies