I added the following code to server/index.js

import fs from 'fs';

console.log(fs);

When you start the app you can see in the console that the fs module is not imported properly.