Console in NodeJS command prompt
Error Message for app.use(express.static(path.join(__dirname, 'public')));
"ReferenceError: path is not defined"
I use express version 3.3.5.
What is the problem?
Console in NodeJS command prompt
Error Message for app.use(express.static(path.join(__dirname, 'public')));
"ReferenceError: path is not defined"
I use express version 3.3.5.
What is the problem?