Hi, I got a problem during deployment if I could get help how to solve it please
9:49:53 PM: Netlify Build
9:49:53 PM: ────────────────────────────────────────────────────────────────
9:49:53 PM:
9:49:53 PM: ❯ Version
9:49:53 PM: @netlify/build 29.20.12
9:49:53 PM:
9:49:53 PM: ❯ Flags
9:49:53 PM: baseRelDir: true
9:49:53 PM: buildId: 64fbf9575e5dc31f8e7bc226
9:49:53 PM: deployId: 64fbf9575e5dc31f8e7bc228
9:49:53 PM:
9:49:53 PM: ❯ Current directory
9:49:53 PM: /opt/build/repo
9:49:53 PM:
9:49:53 PM: ❯ Config file
9:49:53 PM: No config file was defined: using default values.
9:49:53 PM:
9:49:53 PM: ❯ Context
9:49:53 PM: production
9:49:53 PM:
9:49:53 PM: Build command from Netlify app
9:49:53 PM: ────────────────────────────────────────────────────────────────
9:49:53 PM:
9:49:53 PM: $ npm run build
9:49:53 PM: > project-portfolio@0.0.0 build
9:49:53 PM: > tsc && vite build
9:49:55 PM: src/components/Form.tsx(19,28): error TS2554: Expected 0 arguments, but got 1.
9:49:55 PM: src/components/Form.tsx(23,23): error TS7006: Parameter 'e' implicitly has an 'any' type.
9:49:55 PM: src/components/Form.tsx(29,32): error TS2554: Expected 0 arguments, but got 1.
9:49:55 PM: src/components/Form.tsx(33,37): error TS2554: Expected 0 arguments, but got 1.
9:49:55 PM: src/components/Form.tsx(44,20): error TS7006: Parameter 'e' implicitly has an 'any' type.
9:49:55 PM: src/components/Form.tsx(71,19): error TS18004: No value exists in scope for the shorthand property 'firstName'. Either declare one or provide an initializer.
9:49:55 PM: src/components/Form.tsx(71,29): error TS18004: No value exists in scope for the shorthand property 'lastName'. Either declare one or provide an initializer.
9:49:55 PM: src/components/Form.tsx(71,38): error TS2552: Cannot find name 'email'. Did you mean 'emailjs'?
9:49:55 PM: src/components/Form.tsx(71,44): error TS18004: No value exists in scope for the shorthand property 'phone'. Either declare one or provide an initializer.
9:49:55 PM: src/components/Form.tsx(71,50): error TS18004: No value exists in scope for the shorthand property 'subject'. Either declare one or provide an initializer.
9:49:55 PM: src/components/Form.tsx(71,58): error TS2552: Cannot find name 'message'. Did you mean 'onmessage'?
9:49:55 PM: src/components/Form.tsx(145,98): error TS2339: Property 'firstName' does not exist on type '{}'.
9:49:55 PM: src/components/Form.tsx(154,98): error TS2339: Property 'lastName' does not exist on type '{}'.
9:49:55 PM: src/components/Form.tsx(167,98): error TS2339: Property 'email' does not exist on type '{}'.
9:49:55 PM: src/components/Form.tsx(176,98): error TS2339: Property 'phone' does not exist on type '{}'.
9:49:55 PM: src/components/Form.tsx(189,98): error TS2339: Property 'subject' does not exist on type '{}'.
9:49:55 PM: src/components/Form.tsx(198,98): error TS2339: Property 'message' does not exist on type '{}'.
9:49:55 PM: src/components/Navbar.tsx(59,154): error TS2554: Expected 0 arguments, but got 1.
9:49:55 PM: src/pages/Contact.tsx(13,21): error TS2322: Type '{ Children: { map<T, C>(children: C | readonly C[], fn: (child: C, index: number) => T): C extends null | undefined ? C : Exclude<T, boolean | null | undefined>[]; forEach<C>(children: C | readonly C[], fn: (child: C, index: number) => void): void; count(children: any): number; only<C>(children: C): C extends any[] ...' is not assignable to type 'IntrinsicAttributes'.
9:49:55 PM: Property 'Children' does not exist on type 'IntrinsicAttributes'.
9:49:55 PM: src/pages/Projects.tsx(15,47): error TS2322: Type 'string[]' is not assignable to type 'string'.
9:49:55 PM:
9:49:55 PM: build.command failed
9:49:55 PM: ────────────────────────────────────────────────────────────────
9:49:55 PM:
9:49:55 PM: Error message
9:49:55 PM: Command failed with exit code 2: npm run build (https://ntl.fyi/exit-code-2)
9:49:55 PM:
9:49:55 PM: Error location
9:49:55 PM: In Build command from Netlify app:
9:49:55 PM: npm run build
9:49:55 PM:
9:49:55 PM: Resolved config
9:49:55 PM: build:
9:49:55 PM: base: /opt/build/repo
9:49:55 PM: command: npm run build
9:49:55 PM: commandOrigin: ui
9:49:55 PM: publish: /opt/build/repo/build
9:49:55 PM: publishOrigin: ui
9:49:56 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
9:49:57 PM: Failing build: Failed to build site
9:49:57 PM: Finished processing build request in 20.464s