Typescript not finding 3rd party modules from 'node_modules' folder
1 0 I am working on a plain Typescript app and have successfully tested it with importing modules created by myself which are part of the project. Now I am trying to include a 3rd party module from 'node_modules'folder but the compiler is not able to find that module. import * as pnp from '@pnp/pnpjs'; Below is my setting for tsconfig: "compileOnSave": true, "compilerOptions": "types": , "sourceMap": true, "module": "amd", "target": "es5", "noEmitOnError": true, "outDir": "./dist" , "exclude": [ "node_modules", "obj", "bin" ] Below is my package.json: "version": "1.0.0", "name": "OSD.SharePointHostedApp", "private": true, "devDependencies": "@types/chai": "^4.1.7", "@types/sharepoint": "^2013.1.6