Failed to compile with 1 error10:45:13 - Failed to resolve loader: sass-loader

I’m getting the below error when I try to deploy my app “adorable-bonbon-d6b472”. It was build in Vue Js and it appears to have an issue with sass loader, but I don’t know what to do. Can someone help me?

7:45:08 PM: $ yarn build
7:45:08 PM: yarn run v1.22.19
7:45:08 PM: $ vue-cli-service build
7:45:09 PM: - Building for production…
7:45:13 PM: ERROR Failed to compile with 1 error10:45:13 PM
7:45:13 PM: Failed to resolve loader: sass-loader
7:45:13 PM: You may need to install it.
7:45:13 PM: ERROR Build failed with errors.
7:45:13 PM: error Command failed with exit code 1. (Search results for '"non-zero exit code: 1"' - Netlify Support Forums)
7:45:13 PM: info Visit yarn run | Yarn for documentation about this command.
7:45:13 PM: ​
7:45:13 PM: ────────────────────────────────────────────────────────────────
7:45:13 PM: “build.command” failed
7:45:13 PM: ────────────────────────────────────────────────────────────────
7:45:13 PM: ​
7:45:13 PM: Error message
7:45:13 PM: Command failed with exit code 1: yarn build (Search results for '"non-zero exit code: 1"' - Netlify Support Forums)
7:45:13 PM: ​
7:45:13 PM: Error location
7:45:13 PM: In Build command from Netlify app:
7:45:13 PM: yarn build
7:45:13 PM: ​
7:45:13 PM: Resolved config
7:45:13 PM: build:
7:45:13 PM: command: yarn build
7:45:13 PM: commandOrigin: ui
7:45:13 PM: publish: /opt/build/repo/dist
7:45:13 PM: publishOrigin: ui
7:45:14 PM: Caching artifacts
7:45:14 PM: Started saving node modules
7:45:14 PM: Finished saving node modules
7:45:14 PM: Started saving build plugins
7:45:14 PM: Finished saving build plugins
7:45:14 PM: Started saving yarn cache
7:45:16 PM: Finished saving yarn cache
7:45:16 PM: Started saving pip cache
7:45:16 PM: Finished saving pip cache
7:45:16 PM: Started saving emacs cask dependencies
7:45:16 PM: Finished saving emacs cask dependencies
7:45:16 PM: Started saving maven dependencies
7:45:16 PM: Finished saving maven dependencies
7:45:16 PM: Started saving boot dependencies
7:45:16 PM: Finished saving boot dependencies
7:45:16 PM: Started saving rust rustup cache
7:45:16 PM: Finished saving rust rustup cache
7:45:16 PM: Started saving go dependencies
7:45:16 PM: Finished saving go dependencies
7:45:16 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
7:45:16 PM: Creating deploy upload records
7:45:17 PM: Failing build: Failed to build site
7:45:17 PM: Failed during stage ‘building site’: Build script returned non-zero exit code: 2 (Search results for '"non-zero exit code: 2"' - Netlify Support Forums)
7:45:17 PM: Finished processing build request in 35.684765306s

Do you have that in your package.json?