Closed Ammar-Husain closed 1 year ago
I would suggest working with code and NPM modules in Termux home directory.
/storage/emulated/0
does not support necessary features such as symlinks or file attributes including executables permissions.
And why you used --no-bin-links
option? Without this one tsc
is available.
Anyway, I'm closing the issue because it is not a bug and is not reproducible either if everything is set up correctly.
Problem description
I can't compile typescipt code neiteher with
tsc file.ts
nor withnpx tsc file.ts
when i run
tsc file.ts
i get :indicating that there is no tsc exicutable in the $PATH
when i try with
npx tsc file.ts
i get:i have both typescript and tsc installed in my working directory
i have even tried to install them globally but i got the same result i tried install them as dev dependencies but got the same result
What steps will reproduce the bug?
1.
create a file and try to run it with:
tsc file.ts
or:npx tsc file.ts
What is the expected behavior?
file compiled successfully and
file.js
file generatedSystem information
termux-info: