Access forbidden at localhost

I am working on a collaborative project on github. When I clone the directory and I want to access the developed site (localhost:4200) locally with
the command ng serve --open, the browser displays “cannot get”. So I can’t access the site locally to see the changes I’m making. I specify that I am working on Windows 10.

This is the message that appears at the command line (cmd) : Error: multi (webpack)-dev-server/client?http://localhost:4200&sockPath=/sockjs-node ./node_modules/bootstrap/dist/css/bootstrap.css C:/src/styles.scss
Module not found: Error: Can’t resolve ‘C:\src\styles.scss’ in ‘C:\Users\alfgo\Desktop\Joyau2’

Has anyone encountered the same problem? or give me a solution ?
Thank you in advance for your answers.


just looking at the problem, I think that is the path that is causing the problem, C:\src\styles.scss is not an absolute path, while C:\Users\alfgo\Desktop\Joyau2 is an absolute path, so, say that src is in the user, alfgo in Desktop with the folder Joyau2, the absolute path should be C:\Users\alfgo\Desktop\Joyau2\src\styles.scss, that way that will be found by the computer.

So, in your script, you should change everything to absolute path.