Closed LukenSkyne closed 1 year ago
Alright, I think this is a bug on Windows only. Unfortunately I don't have Windows, but I think I spotted the bug.
Can you try again with the latest version (3.2.16)?
Yup, 3.2.16 resolves the issue, thanks a lot! ♥
Description:
As the title mentions, I tried using esrun in the npm scripts section. Executing esrun from the shell works like a charm. In the following error output, notice how the path (
P:CodingProjectsJSPlayground\n
) is missing the backslashes, something related to escaping:Minimal reproduction steps:
npm init -y
inside of the foldernpm i @digitak/esrun
"start": "esrun example.ts"
into the scripts section of the package.jsonesrun example.ts
-> works as expectednpm run start
-> errorTested environments:
Windows 11 Pro
Node:
npm: