I have a problem with typescript compilation. Has anybody else received this error?
node_modules/@types/node/index.d.ts(20,1): error TS1084: Invalid 'reference' directive syntax.
tsconfig.json:
{
"compileOnSave": false,
"compilerOptions": {
"sourceMap": true,
"outDir": "./dist",
"rootDir": "./app",
"target": "es6",
"module": "commonjs",
"declaration": false,
"noImplicitAny": false,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"listFiles": false,
"skipLibCheck": true
},
"include": [
"./app/**/*.ts"
]
}
typescript version in package.json: "typescript": "^2.6.1"