Home > Back-end >  VS Code code terminal loading freezes on me when I run 'npm start'
VS Code code terminal loading freezes on me when I run 'npm start'

Time:12-05

When I put npm start, it freezes in the loading section, attached pic:loading image frozen link

For me to write in the VS code terminal, I will need to trash or kill terminal and start another one. [i have a macos]

I tried closing out the application, did not work. I reopened VS Code and it still didn't work. I installed all the necessary dependencies and the my code starts fine when I 'npm start' it, it is just the process of terminal loading that is acting up.

CodePudding user response:

Try clearing the terminal cache by running the 'clear', if not working then try running the npm start command with the

--no-deps

flag. If the issue still persists, try reinstalling VS Code and all of your dependencies to see if that fixes the issue.

CodePudding user response:

what's the command specified in the package.json? at the line like the one bellow. replace <COMMAND_WRITTEN_IN_HERE> with yours.

"scripts": {
"start": "<COMMAND_WRITTEN_IN_HERE>"
},
  • Related