Deploy failed for jolly-conkies-43ee2

Hi all,

I need to know the solution as I have received fail massage of fail building.
8:49:11 PM: Netlify Build
8:49:11 PM: ────────────────────────────────────────────────────────────────
8:49:11 PM: ​
8:49:11 PM: ❯ Version
8:49:11 PM: @netlify/build 29.36.5
8:49:11 PM: ​
8:49:11 PM: ❯ Flags
8:49:11 PM: baseRelDir: true
8:49:11 PM: buildId: 660021167fedffd3a35436fc
8:49:11 PM: deployId: 660021167fedffd3a35436fe
8:49:11 PM: ​
8:49:11 PM: ❯ Current directory
8:49:11 PM: /opt/build/repo
8:49:11 PM: ​
8:49:11 PM: ❯ Config file
8:49:11 PM: No config file was defined: using default values.
8:49:11 PM: ​
8:49:11 PM: ❯ Context
8:49:11 PM: production
8:49:11 PM: ​
8:49:11 PM: Build command from Netlify app
8:49:11 PM: ────────────────────────────────────────────────────────────────
8:49:11 PM: ​
8:49:11 PM: $ npm run build
8:49:11 PM: > build
8:49:11 PM: > vite build
8:49:12 PM: Failed during stage “building site”: Build script returned non-zero exit code: 2
8:49:12 PM: The CJS build of Vite"s Node API is deprecated. See Troubleshooting | Vite for more details.
vite v5.2.5 building for production…
8:49:12 PM: ✓ 0 modules transformed.
8:49:12 PM: x Build failed in 37ms
8:49:12 PM: error during build:
8:49:12 PM: Error: [vite:build-html] Unable to parse HTML; parse5 error code unexpected-character-in-attribute-name
8:49:12 PM: at /opt/build/repo/index.html:12:13
8:49:12 PM: 10 |

Today is Louis"s birthday :tada:


11 | <img id=“bff-img” src=louis — Postimages
8:49:12 PM: 12 |

6 years old


8:49:12 PM: | ^
8:49:12 PM: 13 |

25.06.2018


8:49:12 PM: 14 |
8:49:12 PM: file: /opt/build/repo/index.html
8:49:12 PM: at handleParseError (file:///opt/build/repo/node_modules/vite/dist/node/chunks/dep-DETuI4x9.js:30589:11)
8:49:12 PM: at Parser.onParseError (file:///opt/build/repo/node_modules/vite/dist/node/chunks/dep-DETuI4x9.js:30515:13)
8:49:12 PM: at Tokenizer._err (file:///opt/build/repo/node_modules/vite/dist/node/chunks/dep-CrWVpuYf.js:1125:89)
8:49:12 PM: at Tokenizer._stateAttributeName (file:///opt/build/repo/node_modules/vite/dist/node/chunks/dep-CrWVpuYf.js:2517:22)
8:49:12 PM: at Tokenizer._stateBeforeAttributeName (file:///opt/build/repo/node_modules/vite/dist/node/chunks/dep-CrWVpuYf.js:2489:22)
8:49:12 PM: at Tokenizer._callState (file:///opt/build/repo/node_modules/vite/dist/node/chunks/dep-CrWVpuYf.js:1608:22)
8:49:12 PM: at Tokenizer._runParsingLoop (file:///opt/build/repo/node_modules/vite/dist/node/chunks/dep-CrWVpuYf.js:1149:22)
8:49:12 PM: at Tokenizer.write (file:///opt/build/repo/node_modules/vite/dist/node/chunks/dep-CrWVpuYf.js:1174:14)
8:49:12 PM: at Parser.parse (file:///opt/build/repo/node_modules/vite/dist/node/chunks/dep-CrWVpuYf.js:4856:26)
8:49:12 PM: at parse (file:///opt/build/repo/node_modules/vite/dist/node/chunks/dep-CrWVpuYf.js:7927:19)
8:49:12 PM: ​
8:49:12 PM: “build.command” failed
8:49:12 PM: ────────────────────────────────────────────────────────────────
8:49:12 PM: ​
8:49:12 PM: Error message
8:49:12 PM: Command failed with exit code 1: npm run build (Search results for '"non-zero exit code: 1"' - Netlify Support Forums)
8:49:12 PM: ​
8:49:12 PM: Error location
8:49:12 PM: In Build command from Netlify app:
8:49:12 PM: npm run build
8:49:12 PM: ​
8:49:12 PM: Resolved config
8:49:12 PM: build:
8:49:12 PM: command: npm run build
8:49:12 PM: commandOrigin: ui
8:49:12 PM: publish: /opt/build/repo/dist
8:49:12 PM: publishOrigin: ui
8:49:12 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
8:49:12 PM: Failing build: Failed to build site
8:49:12 PM: Finished processing build request in 22.938s

@workfromhome911228 The error is:

8:49:12 PM: Error: [vite:build-html] Unable to parse HTML; parse5 error code unexpected-character-in-attribute-name
8:49:12 PM: at /opt/build/repo/index.html:12:13
8:49:12 PM: 10 |

Today is Louis"s birthday :tada:

11 | <img id=“bff-img” src=louis — Postimages
8:49:12 PM: 12 |
6 years old

8:49:12 PM: | ^
8:49:12 PM: 13 |
25.06.2018

8:49:12 PM: 14 |
8:49:12 PM: file: /opt/build/repo/index.html

It’s not related to running on Netlify, if you run npm run build locally you will see the same error.

As it indicates, the error is in your index.html file.

It’s poorly formatted and has been mangled by this forums processing, so it’s hard to know for certain, but it looks like the src or another attribute near it is incorrect.

Just check the file and fix whatever is broken in that spot.