I have an Angular project and sometime fairly recently (I wish I knew exactly when) a couple errors started showing up in the console about missing modules. The errors are:
Uncaught Error: Cannot find module 'jquery'
Uncaught Error: Cannot find module 'prototype-extender'
It doesn't seem to be affecting anything and everything still runs right but I would like to figure out what they are and how to get rid of them. I am not using jquery and I have not heard of the other so is it something that another dependency brought in? I also tried installing jquery as shown here but it still gives me the same error. I did try Googling around but all I found were variations of the above on how to use jquery in Angular. I really don't want to use it so that's not completely relevant and as mentioned I tried the install methods there and still get the same issue...
Any thoughts on where this came from and how to get rid of it? Or even how to track down the dependency that may be requiring it?
EDIT Per comments below, in case it helps, here is my tsconfig.json file:
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"downlevelIteration": true,
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"module": "es2020",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"importHelpers": true,
"target": "es2015",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2018",
"dom"
]
}
}