re: Build a Todo App with Node.Js, ExpressJs, MongoDB and VueJs – Part 2 VIEW POST


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:

  1. 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.

  2. 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?

code of conduct - report abuse