I am trying to compile TypeScript & NodeJS an getting this error any help?
tsc --version => Version 2.7.2
error TS5023: Unknown compiler option 'lib'.
error TS5023: Unknown compiler option 'strict'.
error TS5023: Unknown compiler option 'esModuleInterop'.
The terminal process terminated with exit code: 1
Updated, added tsconfig.json
{
"compilerOptions": {
"target": "ES5",
"module": "commonjs",
"lib": ["es2015"],
"sourceMap": true,
"strict": true,
"esModuleInterop": true,
"mapRoot": "./map"
}
}
tscon the command line would probably just give you the globally installed version. Is your local typescript version updated?