Have you tried manually setting up a typescript compilation task in Visual Studio Code? You can find detailed instructions at this link.
When you run the build command (Ctrl+Shift+B), are you seeing an error message from tsc with unknown encoding? Check out the screenshot here:
Any thoughts on how to resolve this issue?
Here is the content of your tsconfig.json file:
{
"files": [
],
"include": [
"src/**/*.ts"
],
"exclude": [
"node_modules",
"**/*.spec.ts"
],
"compilerOptions": {
"noImplicitAny": true,
"target": "es5",
"module":"commonjs",
"removeComments": true,
"preserveConstEnums": true,
"out": "dist/index.js",
"sourceMap": true
}
}