Currently, I am tackling a project that needs to be delivered to a group of individuals. This project is written in TypeScript, requiring them to execute the command tsc
for compilation.
The issue arises when I run this command following the execution of npm install typescript
, as it appears that the command does not exist. However, if I install it with the -g option, then it functions properly.
I am eager for the future recipient of the project to only need to execute npm install without having to install dependencies on their device. Is this feat even achievable?
For context, I am operating on ubuntu 20.
Thank you!