Search code examples
javascriptnode.jspug

PugJs - file not found / no such file


my first time learning pugJs and using command prompt and I have this error Error:

ENOENT: no such file or directory, lstat 'C:\Users\aya'

It is image of error in command prompt after running


Solution

  • I think it's better to put the address in the "address" than the address where the command should be executed from the space used.

    pug --watch "C:\Users\aya hosny\Desktop\Desktop\pug"