Deploy details
Your deploy failed due to an errorDeploy failed for clerkpro
Production: main@HEAD
Deploy log
Initializing
Complete
Initializing
Complete
6:29:46 AM: Build ready to start
6:29:55 AM: build-image version: 9c9fb6952e50bb092d4b66daf2368677e5c68e34 (noble)
6:29:55 AM: buildbot version: 9c9fb6952e50bb092d4b66daf2368677e5c68e34
6:29:55 AM: Building without cache
6:29:55 AM: Starting to prepare the repo for build
6:29:56 AM: No cached dependencies found. Cloning fresh repo
6:29:56 AM: git clone --filter=blob:none https://github.com/travelfreakcoder/clerkproject
6:29:56 AM: Preparing Git Reference refs/heads/main
6:29:57 AM: Starting to install dependencies
6:29:58 AM: Python version set to 3.13.1
6:29:58 AM: Ruby version set to 2.7.2
6:29:58 AM: mise go@1.19 install
6:29:58 AM: mise go@1.19 download go1.19.linux-amd64.tar.gz
6:30:00 AM: mise go@1.19 checksum go1.19.linux-amd64.tar.gz
6:30:00 AM: mise go@1.19 extract go1.19.linux-amd64.tar.gz
6:30:02 AM: mise go@1.19 go version
6:30:02 AM: mise go@1.19 go version go1.19 linux/amd64
6:30:02 AM: mise go@1.19 ✓ installed
6:30:02 AM: Go version set to 1.19
6:30:03 AM: Using PHP version 8.3
6:30:04 AM: v18.20.6 is already installed.
6:30:04 AM: Now using node v18.20.6 (npm v10.8.2)
6:30:04 AM: Enabling Node.js Corepack
6:30:04 AM: Started restoring cached build plugins
6:30:04 AM: Finished restoring cached build plugins
6:30:04 AM: Started restoring cached corepack dependencies
6:30:04 AM: Finished restoring cached corepack dependencies
6:30:04 AM: No npm workspaces detected
6:30:04 AM: Started restoring cached node modules
6:30:04 AM: Finished restoring cached node modules
6:30:04 AM: Installing npm packages using npm version 10.8.2
6:30:05 AM: npm warn EBADENGINE Unsupported engine {
6:30:05 AM: npm warn EBADENGINE package: 'react-router@7.1.2',
6:30:05 AM: npm warn EBADENGINE required: { node: '>=20.0.0' },
6:30:05 AM: npm warn EBADENGINE current: { node: 'v18.20.6', npm: '10.8.2' }
6:30:05 AM: npm warn EBADENGINE }
6:30:05 AM: npm warn EBADENGINE Unsupported engine {
6:30:05 AM: npm warn EBADENGINE package: 'react-router-dom@7.1.2',
6:30:05 AM: npm warn EBADENGINE required: { node: '>=20.0.0' },
6:30:05 AM: npm warn EBADENGINE current: { node: 'v18.20.6', npm: '10.8.2' }
6:30:05 AM: npm warn EBADENGINE }
6:30:11 AM: added 356 packages, and audited 357 packages in 6s
6:30:11 AM: 123 packages are looking for funding
6:30:11 AM: run `npm fund` for details
6:30:11 AM: 1 moderate severity vulnerability
6:30:11 AM: To address all issues, run:
6:30:11 AM: npm audit fix
6:30:11 AM: Run `npm audit` for details.
6:30:11 AM: npm packages installed
6:30:11 AM: Successfully installed dependencies
6:30:11 AM: Starting build script
6:30:12 AM: Detected 1 framework(s)
6:30:12 AM: "vite" at version "6.0.7"
6:30:12 AM: Section completed: initializing
Building
Failed
Building
Failed
6:30:13 AM: Netlify Build
6:30:13 AM: ────────────────────────────────────────────────────────────────
6:30:13 AM:
6:30:13 AM: ❯ Version
6:30:13 AM: @netlify/build 29.58.9
6:30:13 AM:
6:30:13 AM: ❯ Flags
6:30:13 AM: accountId: 67a1ec0c66d544ef3d3ffda8
6:30:13 AM: baseRelDir: true
6:30:13 AM: buildId: 67b185daf02aa1dfd54da904
6:30:13 AM: deployId: 67b185daf02aa1dfd54da906
6:30:13 AM:
6:30:13 AM: ❯ Current directory
6:30:13 AM: /opt/build/repo
6:30:13 AM:
6:30:13 AM: ❯ Config file
6:30:13 AM: No config file was defined: using default values.
6:30:13 AM:
6:30:13 AM: ❯ Context
6:30:13 AM: production
6:30:13 AM:
6:30:13 AM: Build command from Netlify app
6:30:13 AM: ────────────────────────────────────────────────────────────────
6:30:13 AM:
6:30:13 AM: $ npm run build
6:30:14 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
6:30:14 AM: > cart-project-with-template@0.0.0 build
6:30:14 AM: > vite build
6:30:14 AM: vite v6.0.7 building for production...
6:30:14 AM: <script src="js/jquery-3.3.1.min.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="js/bootstrap.min.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="js/jquery.nice-select.min.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="js/jquery.nicescroll.min.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="js/jquery.magnific-popup.min.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="js/jquery.countdown.min.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="js/jquery.slicknav.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="js/mixitup.min.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="js/owl.carousel.min.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="js/main.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="js/bootstrap.min.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="js/jquery.nice-select.min.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="js/jquery.nicescroll.min.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="js/jquery.magnific-popup.min.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="js/jquery.countdown.min.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="js/jquery.slicknav.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="js/mixitup.min.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="js/owl.carousel.min.js"> in "/index.html" can't be bundled without type="module" attribute
<script src="js/main.js"> in "/index.html" can't be bundled without type="module" attribute
6:30:14 AM: css/bootstrap.min.css doesn't exist at build time, it will remain unchanged to be resolved at runtime
6:30:14 AM: css/font-awesome.min.css doesn't exist at build time, it will remain unchanged to be resolved at runtime
6:30:14 AM: css/elegant-icons.css doesn't exist at build time, it will remain unchanged to be resolved at runtime
6:30:14 AM: css/magnific-popup.css doesn't exist at build time, it will remain unchanged to be resolved at runtime
6:30:14 AM: css/nice-select.css doesn't exist at build time, it will remain unchanged to be resolved at runtime
6:30:14 AM: css/owl.carousel.min.css doesn't exist at build time, it will remain unchanged to be resolved at runtime
6:30:14 AM: css/slicknav.min.css doesn't exist at build time, it will remain unchanged to be resolved at runtime
6:30:14 AM: css/style.css doesn't exist at build time, it will remain unchanged to be resolved at runtime
transforming...
transforming...
6:30:14 AM: ✓ 38 modules transformed.
6:30:14 AM: x Build failed in 163ms
6:30:14 AM: error during build:
6:30:14 AM: [vite:esbuild] Transform failed with 2 errors:
6:30:14 AM: /opt/build/repo/src/layouts/Header.jsx:193:6: ERROR: Unexpected closing fragment tag does not match opening "div" tag
6:30:14 AM: /opt/build/repo/src/layouts/Header.jsx:194:2: ERROR: Expected "}" but found ")"
6:30:14 AM: file: /opt/build/repo/src/layouts/Header.jsx:193:6
6:30:14 AM:
6:30:14 AM: Unexpected closing fragment tag does not match opening "div" tag
6:30:14 AM: 191| {isSignedIn? <Outlet/>:<div style={{display:"flex",justifyContent:"center",alignItems:"center", height:"600px"}}><h3 style={{color:"brown"}}>Welcome User, Please Login to Continue</h3><div/>}
6:30:14 AM: 192| <Footer />
6:30:14 AM: 193| </>
6:30:14 AM: | ^
6:30:14 AM: 194| );
6:30:14 AM: 195| };
6:30:14 AM: Expected "}" but found ")"
6:30:14 AM: 192| <Footer />
6:30:14 AM: 193| </>
6:30:14 AM: 194| );
6:30:14 AM: | ^
6:30:14 AM: 195| };
6:30:14 AM: 196|
6:30:14 AM:
6:30:14 AM: at failureErrorWithLog (/opt/build/repo/node_modules/esbuild/lib/main.js:1476:15)
6:30:14 AM: at /opt/build/repo/node_modules/esbuild/lib/main.js:755:50
6:30:14 AM: at responseCallbacks.<computed> (/opt/build/repo/node_modules/esbuild/lib/main.js:622:9)
6:30:14 AM: at handleIncomingPacket (/opt/build/repo/node_modules/esbuild/lib/main.js:677:12)
6:30:14 AM: at Socket.readFromStdout (/opt/build/repo/node_modules/esbuild/lib/main.js:600:7)
6:30:14 AM: at Socket.emit (node:events:517:28)
6:30:14 AM: at addChunk (node:internal/streams/readable:368:12)
6:30:14 AM: at readableAddChunk (node:internal/streams/readable:341:9)
6:30:14 AM: at Readable.push (node:internal/streams/readable:278:10)
6:30:14 AM: at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
6:30:14 AM:
6:30:14 AM: "build.command" failed
6:30:14 AM: ────────────────────────────────────────────────────────────────
6:30:14 AM:
6:30:14 AM: Error message
6:30:14 AM: Command failed with exit code 1: npm run build (https://ntl.fyi/exit-code-1)
6:30:14 AM:
6:30:14 AM: Error location
6:30:14 AM: In Build command from Netlify app:
6:30:14 AM: npm run build
6:30:14 AM:
6:30:14 AM: Resolved config
6:30:14 AM: build:
6:30:14 AM: command: npm run build
6:30:14 AM: commandOrigin: ui
6:30:14 AM: environment:
6:30:14 AM: - VITE_CLERK_PUBLISHABLE_KEY
6:30:14 AM: publish: /opt/build/repo/dist
6:30:14 AM: publishOrigin: ui
6:30:14 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
6:30:14 AM: Failing build: Failed to build site
6:30:15 AM: Finished processing build request in 19.582s
Deploying
Skipped
Deploying
Skipped
There is no log for this section
Cleanup
Skipped
Cleanup
Skipped
There is no log for this section
Post-processing
Skipped
Post-processing
Skipped
There is no log for this section