2

This is my jsconfig.json file:

{
  "compilerOptions": {
      "baseUrl": ".",
      "target": "es6",
      "module": "commonjs",
      "paths": {
        "@analytics/*": ["./src/analytics/*"],
        "@assets/*": ["./src/assets/*"],
        "@components/*": ["./src/components/*"],
        "@constants/*": ["./src/constants/*"],
        "@cookies/*": ["./src/cookies/*"],
        "@helpers/*": ["./src/helpers/*"],
        "@helmet/*": ["./src/helmet/*"],
        "@hooks/*": ["./src/hooks/*"],
        "@layout/*": ["./src/layout/*"],
        "@pages/*": ["./src/pages/*"],
        "@redux/*": ["./src/redux/*"],
        "@routes/*": ["./src/routes/*"],
        "@styles/*": ["./src/styles/*"],
        "@src/*": ["./src/*"]
      }
  },
  "include": [
    "src/**/*", "scripts"
  ]
}

This file is triggering this 3 instances of the same error.

"node_modules/html-entities/lib/index" not found

enter image description here

What is happening? How can I get rid of it?

cbdeveloper
  • 27,898
  • 37
  • 155
  • 336
  • I've had similar errors. Try restart vscode or Try add `exclude` property. ref: [jsconfig\.json Reference](https://code.visualstudio.com/docs/languages/jsconfig#_using-the-exclude-property) – nabeen Aug 11 '20 at 16:46

1 Answers1

2

I just had this issue. Restaring VScode fix the problem.

MIA
  • 373
  • 3
  • 18