Tell us what’s happening:
For every step following from ‘Lesson 2’, I continuously get the following error: ‘3) ✗ You should run node server.js to see the console output.’
Now, while the test sounds self explanatory, every time I attempt to run ‘node server.js’ in bash, the script successfully runs (and prints). However, the test is still marked as having failed.
Even more odd is that the step prior requires the exact same means to run the script, and yet it works fine there, unless I attempt to backtrack to it (rerunning the tests, using code that had previously passed), in which case it subsequently fails.
Your code so far
const fs = require("fs");
console.log(fs);
const data = fs.readFileSync('assets/poem.txt');
console.log(data);
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:154.0) Gecko/20100101 Firefox/154.0
Challenge Information:
Build a File Processor - Build a File Processor