I get ENOENT no such f…

less than 1 minute read

I get ENOENT: no such file or directory, stat '/nxroot/apps/project/src/assets'. When running nx serve project. What’s the purpose of the assets folder and why is the folder required ?

Responses:

I think that’s referenced in workspace.json or angular.json

it’s not required, you can remove it there. I think the folder was just provided by default to make it easy on devs to have a folder to serve some static files from

I guess you removed that folder before it started failing?

Updated: