We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code:
const express = require('express'), app = express(), path = require('path'), stylus = require('stylus'), port = Number(process.argv[2]); let publicPath = path.join(__dirname, 'public'); app.use(stylus.middleware(publicPath)); app.use(express.static(publicPath)); try { app.listen(port); } catch(err) { console.log(err.message); }
Result of expressworks run(I have an alias setup)
expressworks run
$ ew run index.js p { color: #f00; }
Result of expressworks verify
expressworks verify
$ ew verify index.js Your submission results compared to the expected: ACTUAL EXPECTED ──────────────────────────────────────────────────────────────────────────────── "p {" != "Error: EACCES: permission denied, open '/usr/lib/node_modules/expressworks/exercises/stylish_css/public/main.css'<br> at Error (native)" " color: #f00;" != "" "" != ────────────────────────────────────────────────────────────────────────────────
Why is the test looking for main.css in /usr/lib/node_modules/expressworks/exercises/stylish_css/public/?
main.css
/usr/lib/node_modules/expressworks/exercises/stylish_css/public/
What am I missing here?
/cc @azat-co
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Code:
Result of
expressworks run
(I have an alias setup)Result of
expressworks verify
Why is the test looking for
main.css
in/usr/lib/node_modules/expressworks/exercises/stylish_css/public/
?What am I missing here?
/cc @azat-co
The text was updated successfully, but these errors were encountered: