Webpack- Rock Paper Scissors

Hi, I’ve just finished Rock Paper Scissors game project in Webpac section, but for some reason I only get whitescreen and Cannot GET / message after starting the app. I double-checked the code against the soultion code (even copy-pasted it in the end), but still nothing changes.
Any ideas why?
Thanks in advance!

I have the exact same problem. :confused:

Same here! :frowning:
Could it be an issue with the package versions? I’m using the latest versions.

**Edit: **
Found the solution on this forum:
Learn Build Tools: Rock, Paper, Bundle Project extra dependencies required to run - #8 by garikgelios


  1. Install HtmlWebpackPlugin
    npm install --save-dev html-webpack-plugin
  2. Add at the very beginning of the webpack.config.js file, before the module.exports
    const HtmlWebpackPlugin = require('html-webpack-plugin');
  3. Add in webpack.config.js file in module.exports new item
    plugins: [new HtmlWebpackPlugin({ template: "./index.html" })]
  4. npm run build
  5. npm run start
  6. play the game