Error: EACCES, open '/usr/local/lib/node_modules/expressworks/problems/stylish_css/public/main.css'
my solution:
var express = require('express')
var app = express()
var stylus = require('stylus')
var STATIC_DIR = process.argv[3]
app.use(stylus.middleware(STATIC_DIR))
app.use(express.static(STATIC_DIR))
app.listen(process.argv[2])
You can see in the screenshot that both solutions are not being loaded :(
Continuously getting this error:
Error: EACCES, open '/usr/local/lib/node_modules/expressworks/problems/stylish_css/public/main.css'
my solution:
You can see in the screenshot that both solutions are not being loaded :(