Answer the question
In order to leave comments, you need to log in
What could be wrong with npm script?
Good afternoon.
Installed the Pug package for NPM. When the command is called, pug templates/*.pug -w -P --out ./
everything works. Here is a screenshot:
However, I added a script to the package.json file with the same command, it gives an error.
"scripts": {
"start": "npm run pug && npm run gulp:watch",
"pug": "pug templates/*.pug -w -P --out ./",
"gulp:watch": "gulp watch"
},
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question