Problem Statement: When running "npm install" in vscode to set this up, it returns the error "node_modules/@types/node/index.d.ts:20:1 - error TS1084: Invalid 'reference' directive syntax." #59

Proposed Fix: Updating the #types/node and typescript versions fixed the issue. The project doesn't throw issue while running npm install anymore. npm run start also runs seemlessly withouth any crashes.
This commit is contained in:
Fahad
2021-01-17 18:51:54 +05:00
parent 06fa2dfa89
commit 52491f1d00

View File

@@ -22,9 +22,9 @@
],
"typings": "dist/index",
"devDependencies": {
"@types/node": "^6.14.6",
"@types/node": "^14.14.21",
"tslint": "^5.9.1",
"tslint-consistent-codestyle": "^1.13.0",
"typescript": "^2.8.3"
"typescript": "^4.1.3"
}
}