Open merceyz opened 7 months ago
Sounds reasonable. What is the best why to install tsc do you think? Would you have time to set a PR the Dockerfile to ensure it is installed?
I've opened https://github.com/emscripten-core/emsdk/pull/1371 which installs the npm dependencies of emscripten during docker build.
I searched for emcc: error: tsc was not found! Please run “npm install” in Emscripten root directory to set up npm dependencies
and found this issues, If someone encounters it again later, they can execute npm install -g typescript
make a quick fix. tsc is optional.
The
emscripten/emsdk:3.1.57
container doesn't containtsc
so the--emit-tsd
flag doesn't work by default.It would be nice if the Docker container could contain
tsc
by default.Reproduction: