cbdeveloper
cbdeveloper

Reputation: 31335

jsconfig.json error: "node_modules/html-entities/lib/index" not found

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?

Upvotes: 2

Views: 2086

Answers (1)

MIA
MIA

Reputation: 431

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

Upvotes: 2

Related Questions