i use this line
app.use(express.static(path.join(__dirname, ‘…/app/views/public’)));
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello friend!
I don’t use node very much, but maybe I could at least offer some general thought that might lead to a path to resolution. Does the user account running node have permission to access the files there? Is that path technically correct from where it is executing?
Jarland