# I got stuck in Html/CSS Part 3, Lesson 42 Parcel-Deployment

**URL:** https://forum.codewithmosh.com/t/i-got-stuck-in-html-css-part-3-lesson-42-parcel-deployment/16779
**Category:** HTML/CSS
**Created:** [November 30, 2022, 5:43pm UTC](https://forum.codewithmosh.com/t/i-got-stuck-in-html-css-part-3-lesson-42-parcel-deployment/16779 "2022-11-30T17:43:26Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Hope](https://avatars.discourse-cdn.com/v4/letter/h/aeb1de/32.png) [@Hope](https://forum.codewithmosh.com/u/Hope)
#### Post date: [November 30, 2022, 5:43pm UTC](https://forum.codewithmosh.com/t/i-got-stuck-in-html-css-part-3-lesson-42-parcel-deployment/16779/1 "2022-11-30T17:43:27Z")

</div>

Hi,  
My name is Saqib, I almost completed my HTML/CSS journey but unfortunately I got stucked at Lesson 42 of Part 3 while deploying my website using PARCEL.  
I did the same as Mosh described but error appears everytime I run index.html with PARCEL.  
I also searched and tried different ways and hacks, but nothing works for me. I’m sharing this problem with you guys because I hope someone has a solution that will work. 🙂

_These are the Errors coming…_  
Server running at [http://localhost:1234](http://localhost:1234)  
× C:\Users\DELL\OneDrive\Desktop\Moshify\images\logo.svg: Invalid Version: undefined  
at new SemVer (C:\Users\DELL\OneDrive\Desktop\Moshify\node\_modules@babel\preset-env\node\_modules\semver\semver.js:314:11)  
at compare (C:\Users\DELL\OneDrive\Desktop\Moshify\node\_modules@babel\preset-env\node\_modules\semver\semver.js:647:10)  
at Function.lt (C:\Users\DELL\OneDrive\Desktop\Moshify\node\_modules@babel\preset-env\node\_modules\semver\semver.js:688:10)

 ![Errors Screenshot 2022-11-30 223815](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/d/ddeebf4b18ba3c45e2420c69cf7beebf9e7a7eb0.png)

---

<div class="post-metadata">

### Author: ![YuriAmancio](https://avatars.discourse-cdn.com/v4/letter/y/e47c2d/32.png) [@YuriAmancio](https://forum.codewithmosh.com/u/YuriAmancio)
#### Post date: [December 6, 2022, 10:07am UTC](https://forum.codewithmosh.com/t/i-got-stuck-in-html-css-part-3-lesson-42-parcel-deployment/16779/2 "2022-12-06T10:07:31Z")

</div>

Many people are stuck in this part of the course. I tried so many youtube tutorials but always ended up with a problem. I disregarded this part for learning purposes.

---

<div class="post-metadata">

### Author: ![Sandy](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@Sandy](https://forum.codewithmosh.com/u/Sandy)
#### Post date: [March 7, 2023, 7:33am UTC](https://forum.codewithmosh.com/t/i-got-stuck-in-html-css-part-3-lesson-42-parcel-deployment/16779/3 "2023-03-07T07:33:10Z")

</div>

I hope this is solved now if any future developers are facing this issue. Please check the URLs (like https:// mistakes) in your code (index.html) so that you can build your website on a local server.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/6/69e34b9032dd82b1ebbd95575c4e2efbeec6007c.png)

![image](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/0/035c868730ef14f9a7086a139182fbbd9b64d2a7.png)

I made spelling mistakes in URLs, and then that was corrected. The build was successful.

---

<div class="post-metadata">

### Author: ![7\_hamo](https://avatars.discourse-cdn.com/v4/letter/7/fbc32d/32.png) [@7\_hamo](https://forum.codewithmosh.com/u/7_hamo)
#### Post date: [April 3, 2023, 1:11pm UTC](https://forum.codewithmosh.com/t/i-got-stuck-in-html-css-part-3-lesson-42-parcel-deployment/16779/4 "2023-04-03T13:11:30Z")

</div>

deletting .htmlnanorc.js file works for me

---

<div class="post-metadata">

### Author: ![RicardoSuazo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/ricardosuazo/32/5556_2.png) [@RicardoSuazo](https://forum.codewithmosh.com/u/RicardoSuazo)
#### Post date: [April 21, 2023, 1:07am UTC](https://forum.codewithmosh.com/t/i-got-stuck-in-html-css-part-3-lesson-42-parcel-deployment/16779/5 "2023-04-21T01:07:26Z")

</div>

I solved it this way:

1. In the project directory:  
a) Created a file called “.htmlnanorc.js” with content:  
module.exports = {  
minifySvg: false,  
};  
b) Created another file called “.htmlnanorc” with a single line:  
{ “minifySvg”: false }
2. In the Terminal I run the “parcel build index.html” adding “–no-minify” as a parameter:  
“parcel build index.html --no-minify”
3. In the configuration parameters of Netlify for the deploy, I also write the same command to be executed when building my deploy:  
“parcel build index.html --no-minify”

All problems are gone and now anytime I push to GitHub, Netlify publish my updated site as expected

Hope this will help you all

Ricardo

---

<div class="post-metadata">

### Author: ![paul89](https://avatars.discourse-cdn.com/v4/letter/p/e274bd/32.png) [@paul89](https://forum.codewithmosh.com/u/paul89)
#### Post date: [May 16, 2023, 3:11pm UTC](https://forum.codewithmosh.com/t/i-got-stuck-in-html-css-part-3-lesson-42-parcel-deployment/16779/6 "2023-05-16T15:11:37Z")

</div>

pls i need thew project file,  
![codewithmosh|690x412](upload://rAzFal25I87BgkrvjW8FCquURES.

pls kindly send the link

---

<div class="post-metadata">

### Author: ![nomadgg](https://avatars.discourse-cdn.com/v4/letter/n/4491bb/32.png) [@nomadgg](https://forum.codewithmosh.com/u/nomadgg)
#### Post date: [October 11, 2023, 3:04pm UTC](https://forum.codewithmosh.com/t/i-got-stuck-in-html-css-part-3-lesson-42-parcel-deployment/16779/7 "2023-10-11T15:04:15Z")

</div>

I have installed v1.12.5. Then, the problem has gone.

---

<div class="post-metadata">

### Author: ![jebarcha](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jebarcha](https://forum.codewithmosh.com/u/jebarcha)
#### Post date: [October 13, 2023, 12:21am UTC](https://forum.codewithmosh.com/t/i-got-stuck-in-html-css-part-3-lesson-42-parcel-deployment/16779/8 "2023-10-13T00:21:36Z")

</div>

Hi, was it solved? I’m facing similar issue, please see screenshot.  
My node version is v18.18.0  
 ![ErrorParcel](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/4/4e0019042248279f6e296bd5865374005d3f11ad.png)  
Thanks

---

<div class="post-metadata">

### Author: ![jebarcha](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jebarcha](https://forum.codewithmosh.com/u/jebarcha)
#### Post date: [October 13, 2023, 10:16pm UTC](https://forum.codewithmosh.com/t/i-got-stuck-in-html-css-part-3-lesson-42-parcel-deployment/16779/9 "2023-10-13T22:16:58Z")

</div>

Hi again. It fails when try to build locally however It worked fine when deploying in parcel, so it is ok I think. Thanks
