Search code examples
node.jsintellij-idea

Intellij isn't finding npm scripts anymore


I don't know what I changed but Intellij is not detecting the npm scripts anymore. I was creating a second tsconfig file and after that it stoped working. I created a new project and cleared the cache but IntelliJ keep saying that there is no script


Solution

  • Please make sure that *.json pattern is assigned to either JSON or JSON5 file type in Preferences | Editor | File types