Happy New Year all! I’ve never had this issue befo...
# help
d
Happy New Year all! I’ve never had this issue before but suddenly I’m getting a linting error for something in my
node_modules
even though I have a
.eslintignore
? …and my
tsconfig.json
has this…
Copy code
"exclude": ["./jest.config.js", "./node_modules/**/*", "./build/**/*", "./frontend/**/*", "./contentful-frontend/**/*"],
  "include": ["lib", "src"]
t
is this a linting error or a typescript error?
and can I see your tsconfig?
skipLibCheck: true in tsconfig should fix this
d
Copy code
{
  "compilerOptions": {
    "target": "ES2019",
    "module": "commonjs",
    "lib": ["es2019", "dom"],
    "declaration": true,
    "strict": true,
    "noImplicitAny": true,
    "strictNullChecks": true,
    "noImplicitThis": true,
    "alwaysStrict": true,
    "noUnusedLocals": false,
    "noUnusedParameters": false,
    "noImplicitReturns": true,
    "noFallthroughCasesInSwitch": false,
    "inlineSourceMap": true,
    "inlineSources": true,
    "experimentalDecorators": true,
    "strictPropertyInitialization": false,
    "esModuleInterop": true,
    "typeRoots": ["./types", "./node_modules/@types"],
  },
  "exclude": ["./jest.config.js", "./node_modules/**/*", "./build/**/*", "./frontend/**/*", "./contentful-frontend/**/*"],
  "include": ["lib", "src"]
}
any idea why this would happen now though?
worked before
t
Not sure it seems like something may be off with that dependency
d
hmmm
let me try reinstalling deps
updated to latest sst and it all works now
and reinstalled deps. could have just been the deps install I guess
t
weird