# React/NPM/Webpack help

**URL:** <https://forum.freecodecamp.org/t/react-npm-webpack-help/167239>\
**Category:** General\
**Created:** [January 7, 2018, 3:03am UTC](https://forum.freecodecamp.org/t/react-npm-webpack-help/167239 "2018-01-07T03:03:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kschmatt](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kschmatt/32/58081_2.png) [@kschmatt](https://forum.freecodecamp.org/u/kschmatt)\
**Post date:** [January 7, 2018, 3:03am UTC](https://forum.freecodecamp.org/t/react-npm-webpack-help/167239/1 "2018-01-07T03:03:52Z")

</div>

I need help 😕 I’m fairly new to backend stuff, and currently doing a React course. I have followed the video exactly and it’s still throwing errors. I up

 ![zz](https://global.discourse-cdn.com/freecodecamp/original/3X/e/0/e0325245987b7563b8dd9446db05331f4971bfca.png)dated NPM, I made sure everything was correct. I don’t know what is wrong. /:

---

<div class="post-metadata">

**Author:** ![kevinSmith](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kevinsmith/32/72934_2.png) [@kevinSmith](https://forum.freecodecamp.org/u/kevinSmith)\
**Post date:** [January 7, 2018, 4:47am UTC](https://forum.freecodecamp.org/t/react-npm-webpack-help/167239/2 "2018-01-07T04:47:47Z")

</div>

It seems like it thinks there is a problem on line 12 of your _webpack.config.js_ file, but it looks fine. Can we see your _webpack.config.js_ file? Just cut and paste it into the post and put three backticks on the line before and three after (so it gets formatted correctly). I’m guessing that there is a problem with a line before line 12 that is causing it to misread line 12.

---

<div class="post-metadata">

**Author:** ![ivan3123708](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ivan3123708/32/61275_2.png) [@ivan3123708](https://forum.freecodecamp.org/u/ivan3123708)\
**Post date:** [January 7, 2018, 9:12am UTC](https://forum.freecodecamp.org/t/react-npm-webpack-help/167239/3 "2018-01-07T09:12:19Z")

</div>

Just a syntax error caused by semicolon you wrote at the end of the line in your output.path property. Remove it, or put a comma if you defined any other properties after it.

---

<div class="post-metadata">

**Author:** ![kschmatt](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kschmatt/32/58081_2.png) [@kschmatt](https://forum.freecodecamp.org/u/kschmatt)\
**Post date:** [January 8, 2018, 1:18am UTC](https://forum.freecodecamp.org/t/react-npm-webpack-help/167239/4 "2018-01-08T01:18:08Z")

</div>

Sometimes you have to love the tediousness of coding.

I did have a semicolon in the wrong spot, and then I also had ‘extend’ instead of ‘extends’. It took me longer than I’d like to admit to figure out the issue.

---

<div class="post-metadata">

**Author:** ![kschmatt](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kschmatt/32/58081_2.png) [@kschmatt](https://forum.freecodecamp.org/u/kschmatt)\
**Post date:** [January 8, 2018, 1:18am UTC](https://forum.freecodecamp.org/t/react-npm-webpack-help/167239/5 "2018-01-08T01:18:40Z")

</div>

I figured it out but thank you! Your comment helped.

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 8:30pm UTC](https://forum.freecodecamp.org/t/react-npm-webpack-help/167239/6 "2021-01-17T20:30:55Z")

</div>

Closed on January 17, 2021, 8:30pm UTC


