knightedcodemonkey / duel

TypeScript dual packages.
MIT License
21 stars 4 forks source link

Does not run on windows 10 #48

Open byteatom opened 1 month ago

byteatom commented 1 month ago

Nodejs: v20.12.2

Error when running duel: Failed to compile: spawn D:\project\xxxx\node_modules.bin\tsc ENOENT

Adding "shell: true" to the option of the spawn() function call in duel.js seems to solve the problem.

knightedcodemonkey commented 1 month ago

Hi @byteatom thanks for reporting this. Did you want to open a PR?