I am encountering errors in the file node_modules/@types/core-js/index.d.ts while using Visual Studio Code IDE:
https://i.sstatic.net/fkAej.png
After running npm start
to serve the application, the following errors are displayed:
(list of errors here)
This is how my tsconfig.json file looks like:
{
"compilerOptions": {
(configuration details here)
}
}
Here is an excerpt from my package.json as well:
{
"name": "vepo",
"version": "1.0.0",
(package.json content here)
}
How can I go about resolving these errors?
**UPDATE: In the past, I utilized typings
for .d.ts
files but have since transitioned to using @types
. Additionally, I have updated my npm and node versions to address this problem as seen below:
(versions comparison here)
Additionally, sharing a snippet from the npm-debug.log:
(debug log details here)