npm run build get stuck and not working properly

I am trying to use npm run build on my project but when it is getting build it stucks at packaging favicon.[hash].png… and quits building .also it does not create the dist folder I intend to create. this is my package.json

 {
  "name": "forkify",
  "version": "1.0.0",
  "description": "recipe application",
  "default": "index.html",
  "scripts": {
    "start": "parcel index.html",
    "build": "parcel build index.html --dist-dir ./dist"
  },
  "author": "sponge bob",
  "license": "ISC",
  "devDependencies": {
    "@parcel/transformer-sass": "^2.4.1"
  },
  "dependencies": {
    "core-js": "^3.22.0",
    "fractional": "^1.0.0",
    "regenerator-runtime": "^0.13.9",
    "parcel": "^2.4.1",
    "sass": "^1.50.0"
  }
}

any idea on what should I do?