why does deno compile read my other directories ?
If i run this on an empty directory with nothing but a main.ts,
deno compile main.ts
It tries to walk up the file tree and find other folders with node_modules/package.json ( not sure what its looking for )
And compilation never ends.
the contents of main.ts
are just
However, if i have a package.json in the same directory, it compiles pretty quick and i get an executable which works.
it shows these warnings which shows paths from files that are way off my current working directory,
and a lot of the same warnings for different node projects in my filesystem is printed.
I'm on Deno 2.3.6
1 Reply
GitHub
denoland/deno
A modern runtime for JavaScript and TypeScript. Contribute to denoland/deno development by creating an account on GitHub.