# About publish on the netlify

**URL:** <https://forum.codewithmosh.com/t/about-publish-on-the-netlify/17089>\
**Category:** HTML/CSS\
**Created:** [December 18, 2022, 12:25pm UTC](https://forum.codewithmosh.com/t/about-publish-on-the-netlify/17089 "2022-12-18T12:25:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hofong](https://avatars.discourse-cdn.com/v4/letter/h/ed655f/32.png) [@Hofong](https://forum.codewithmosh.com/u/Hofong)\
**Post date:** [December 18, 2022, 12:25pm UTC](https://forum.codewithmosh.com/t/about-publish-on-the-netlify/17089/1 "2022-12-18T12:25:39Z")

</div>

While I tried to build command from Netlify app, it failed again and again:

$ parcel build index.html  
7:41:28 PM: 🚨 /opt/build/repo/images/banner@2x.webp: Invalid Version: undefined  
7:41:28 PM: at new SemVer (/opt/build/repo/node\_modules/@babel/preset-env/node\_modules/semver/semver.js:314:11)  
7:41:28 PM: at compare (/opt/build/repo/node\_modules/@babel/preset-env/node\_modules/semver/semver.js:647:10)  
7:41:28 PM: at Function.lt (/opt/build/repo/node\_modules/@babel/preset-env/node\_modules/semver/semver.js:688:10)  
7:41:28 PM: at /opt/build/repo/node\_modules/@babel/preset-env/lib/index.js:225:11  
7:41:28 PM: at Object.default (/opt/build/repo/node\_modules/@babel/helper-plugin-utils/lib/index.js:31:12)  
7:41:28 PM: at getEnvPlugins (/opt/build/repo/node\_modules/parcel-bundler/src/transforms/babel/env.js:62:34)  
7:41:28 PM: at getEnvConfig (/opt/build/repo/node\_modules/parcel-bundler/src/transforms/babel/env.js:12:25)  
7:41:28 PM: at async getBabelConfig (/opt/build/repo/node\_modules/parcel-bundler/src/transforms/babel/config.js:32:19)  
7:41:28 PM: at async babelTransform (/opt/build/repo/node\_modules/parcel-bundler/src/transforms/babel/transform.js:6:16)  
7:41:28 PM: at async JSAsset.pretransform (/opt/build/repo/node\_modules/parcel-bundler/src/assets/JSAsset.js:83:5)  
7:41:29 PM: ​  
7:41:29 PM: ────────────────────────────────────────────────────────────────  
7:41:29 PM: “build.command” failed  
7:41:29 PM: ────────────────────────────────────────────────────────────────  
7:41:29 PM: ​  
7:41:29 PM: Error message  
7:41:29 PM: Command failed with exit code 1: parcel build index.html ([Search results for '"non-zero exit code: 1"' - Netlify Support Forums](https://ntl.fyi/exit-code-1))

---

<div class="post-metadata">

**Author:** ![Nick6](https://avatars.discourse-cdn.com/v4/letter/n/bc79bd/32.png) [@Nick6](https://forum.codewithmosh.com/u/Nick6)\
**Post date:** [April 13, 2024, 2:01am UTC](https://forum.codewithmosh.com/t/about-publish-on-the-netlify/17089/2 "2024-04-13T02:01:32Z")

</div>

I had the same issue and came to seek answers 🥲 . Did u somehow managed to solve it?
