Build a File Processor - Build a File Processor

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

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-build-a-file-processor/6449710ece9a4dcdcf44f6e7.md at main · freeCodeCamp/freeCodeCamp · GitHub

Hey, it looks like there are some issue with tests. For now, you can still pass that test (and the following ones) by running node server.js in a new terminal. A bit annoying but it works if you want to go ahead until the bug is fixed.