Could you help me with this? non-zero exit code: 2

Hello everybody!

Could someone help me with this, I am unable to deploy it alone and I am going crazy xD.

Build command from Netlify app
10:28:28 PM: ────────────────────────────────────────────────────────────────
10:28:28 PM: ​
10:28:28 PM: $ npm run build
10:28:28 PM: > markdown-previewer@0.0.0 build
10:28:28 PM: > tsc && vite build
10:28:29 PM: src/App.tsx(3,31): error TS2307: Cannot find module “react-markdown/lib/react-markdown” or its corresponding type declarations.
10:28:29 PM: ​
10:28:29 PM: “build.command” failed
10:28:29 PM: ────────────────────────────────────────────────────────────────
10:28:29 PM: ​
10:28:29 PM: Error message
10:28:29 PM: Command failed with exit code 2: npm run build (Search results for '"non-zero exit code: 2"' - Netlify Support Forums)
10:28:29 PM: ​
10:28:29 PM: Error location
10:28:29 PM: In Build command from Netlify app:
10:28:29 PM: npm run build
10:28:29 PM: ​
10:28:29 PM: Resolved config
10:28:29 PM: build:
10:28:29 PM: command: npm run build
10:28:29 PM: commandOrigin: ui
10:28:29 PM: publish: /opt/build/repo/dist
10:28:29 PM: publishOrigin: ui
10:28:31 PM: Failed during stage “building site”: Build script returned non-zero exit code: 2
10:28:31 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
10:28:31 PM: Failing build: Failed to build site
10:28:31 PM: Finished processing build request in 16.849s

Thank you!!

Looks like a problem with your code or that specific library.