FutureLights
Explore posts from serversDeno Compile Exe doesn't run
Quick question, I just got started with deno because I wanted to make an exe of my simple node js app. It ran pretty much right away without having to change anything except adding
node:
in front of my path
and crypto
imports. Honestly, I was expecting to have to do so much more so that was awesome. It compiled just fine to an exe, but when I try to run the exe, it outputs with:
It ran just fine with deno -A index.js
so I assumed building it would work with the old npm packages. I feel like I'm missing something really basic. Do I need to replace the problematic drivelist
npm package to something that's more deno compatible? I didn't see anything about certain packages working/not working in the documentation for deno compile as opposed to just running normally. I've tried using a variety of flags with compile but nothing has resulted in a working exe yet. Any help is appreciated!6 replies