Not really sure what the issue is here, that is why I am following the tutorial and trying to learn about Webpack. I can’t get past the 2nd lesson because the code will not build. When I check the source on Github against the source ( or the code I can actually see in the video ) it does not match. I thought this was the whole point of the course. The idea is to download the source from Github and build the code along with the video tutorials. The course is found here: https://code.tutsplus.com/courses/instant-webpack-2/lessons/a-basic-build . At 3:20 Dan Wellman instructs us to build the files using the command npm run build. In the video it works just fine for him, but mine throws an error
email@example.com build /Users/user1/Desktop/webpack
webpack --config config/webpack.config.js
SyntaxError: Invalid or unexpected token
I have double checked all of my code. I have the most recent version of Node installed, and everything went fine when I ran npm install to initially install all of the node modules in lesson 1. What am I missing here?