0

I get this error when trying to render a .pug file to html in vs code terminal: pug :

The term 'pug' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ pug index.pug
+ ~~~
    + CategoryInfo          : ObjectNotFound: (pug:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

but it works perfectly fine when I cd to the project page and use the same command. Maybe I'm running the terminal wrong or something, please help!

0 Answers0