iamkanaramyadav
iamkanaramyadav

Reputation: 151

when run nodemon in angular ts getting this error?

The problem is when I execute the npm run dev command I get the following error

node_modules is not recognized as an internal or external command

enter image description here

This is how the packages.json script looks like:

enter image description here

Upvotes: 0

Views: 231

Answers (1)

andyrandy
andyrandy

Reputation: 74004

Try this:

"compile":"./node_modules/.bin/tsc && node server.js"

Might be a path issue, your command line thinks that "node_modules" is a command.

Upvotes: 1

Related Questions