{
  "name": "hyrax",
  "private": true,
  "repository": "git@github.com:samvera/hyrax.git",
  "dependencies": {
  "universalviewer": "^3.0.16"
},
"scripts": {
  "preinstall": "rm -rf ./public/uv",
  "postinstall": "yarn run uv-install && yarn run uv-config",
  "uv-install": "shx cp -r ./node_modules/universalviewer/uv ./public/",
  "uv-config": "shx cp ./config/uv/uv.html ./public/uv/uv.html & shx cp ./config/uv/uv-config.json ./public/uv/"
  },
  "devDependencies": {
  "shx": "^0.3.2"
  }
}
{
  "name": "hyrax",
  "private": true,
  "repository": "git@github.com:samvera/hyrax.git",
  "dependencies": {
  "universalviewer": "^3.0.16"
},
"scripts": {
  "preinstall": "rm -rf ./public/uv",
  "postinstall": "yarn run uv-install && yarn run uv-config",
  "uv-install": "shx cp -r ./node_modules/universalviewer/dist ./public/uv",
  "uv-config": "shx cp ./config/uv/uv.html ./public/uv/uv.html & shx cp ./config/uv/uv-config.json ./public/uv/"
  },
  "devDependencies": {
  "shx": "^0.3.2"
  }
}

Copy dist directory instead of uv directory
Copy dist directory instead of uv directory

The current build (3.0.36) of 3.0.x UV in NPM does not have a uv directory and the copy fails.  It does have a dist directory so let's try copying that instead.