Lukas Bombach
1 min readJan 22, 2017

--

Hey there,

thanks for your tutorial! I am running into difficulties though. It seems the webpack process is separated from the node process (is what I guess). I made a very small change to your repository to demonstrate: If I use fs.readdir in App.js I will get the error

Uncaught TypeError: _fs2.default.readdir is not a function

See for yourself

All I did was import fs and run fs.readdir in the constructor.

--

--

Lukas Bombach

Programmer, wannabe designer and nostalgic retro gamer.