pugjs / pug

Pug – robust, elegant, feature rich template engine for Node.js
https://pugjs.org
21.7k stars 1.95k forks source link

Sass Pug #3417

Open PhiHung151 opened 1 year ago

PhiHung151 commented 1 year ago

I used: pug index.pug --watch --pretty but its doesn't work and show notifications:

Error: ENOENT: no such file or directory, lstat 'index.pug' at Object.lstatSync (node:fs:1593:3) at renderFile (C:\Users\Admin\AppData\Roaming\npm\node_modules\pug-cli\index.js:246:17) at tryRender (C:\Users\Admin\AppData\Roaming\npm\node_modules\pug-cli\index.js:209:5) at C:\Users\Admin\AppData\Roaming\npm\node_modules\pug-cli\index.js:149:5 at Array.forEach () at Object. (C:\Users\Admin\AppData\Roaming\npm\node_modules\pug-cli\index.js:148:9) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12)

Is there anyone who can help me? Thanks

thesohailjafri commented 1 year ago

Can please elaborate the issue or write down the steps to reproduce @PhiHung151