VSCode Uncss Error: ENOENT: no such file or directory, open

1.5k views Asked by At

I have VSCode, I have installed NodeJS, I have installed NPM.

I was trying to get UNCSS working but cannot seem to get past some errors.

Following this guide here: https://www.youtube.com/watch?v=DX7McYRGJ8o&t=1s

I ran npm i parcel-bundler -g Then I had some errors so npm audit fix and npm fund were ran and it seemed to fix all the errors.

Then npm init -y to create a package.json file.

I tried parcel index.html and it wont load with out saying

Server running at http://localhost:1234
×  
D:\Users\rchow\OneDrive\Desktop\premium-hosting.html\public_html\login\demo: ENOENT: no such file or directory, open 'D:\Users\rchow\OneDrive\Desktop\premium-hosting.html\public_html\login\demo'
Error: ENOENT: no such file or directory, open 'D:\Users\rchow\OneDrive\Desktop\premium-hosting.html\public_html\login\demo'

I thought maybe I could skip this step,

I ran

npm i -D postcss-modules postcss-uncss uncss

created the postcss.config.js file and then tried to run it all but i keep getting the same error as above.

Please help as I cannot work out what is wrong :(

0

There are 0 answers