I followed the steps, and it doesn't work. I think it's better to edit the article with necessary additional steps.
Things that don't work for me:
The code uses Webpack, but there's no webpack.config.js. When calling npm run build, there will be an error about the Webpack config not being found. I had to follow the steps described in Mark Johnson's comment to get the Webpack to work.
Tutorial part 1 uses Morgan in server.js, but in this part 2, Morgan is removed from the dependencies. As a result, running node server will have an error. I realized that Morgan is included in the source code, though. So it seems that the code in the article is not exactly the same with the source code?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I followed the steps, and it doesn't work. I think it's better to edit the article with necessary additional steps.
Things that don't work for me:
The code uses Webpack, but there's no webpack.config.js. When calling
npm run build
, there will be an error about the Webpack config not being found. I had to follow the steps described in Mark Johnson's comment to get the Webpack to work.Tutorial part 1 uses Morgan in
server.js
, but in this part 2, Morgan is removed from the dependencies. As a result, runningnode server
will have an error. I realized that Morgan is included in the source code, though. So it seems that the code in the article is not exactly the same with the source code?