Cannot build source codes for macOS Mojave. Running: sudo yarn && yarn preminify I get:
yarn install v1.12.3
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
info google-closure-compiler-linux@20181008.0.0: The platform "darwin" is incompatible with this module.
info "google-closure-compiler-linux@20181008.0.0" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] 🔗 Linking dependencies...
warning " > pdfjs-dist@2.0.402" has unmet peer dependency "webpack@^2.0.0 || ^3.0.0".
warning "pdfjs-dist > worker-loader@1.1.0" has unmet peer dependency "webpack@^2.0.0 || ^3.0.0".
warning "react-pdf > pdfjs-dist@2.0.305" has unmet peer dependency "webpack@^2.0.0 || ^3.0.0".
[4/4] 📃 Building fresh packages...
success Saved lockfile.
✨ Done in 445.83s.
yarn run v1.12.3
error Command "preminify" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Cannot build source codes for macOS Mojave. Running:
sudo yarn && yarn preminifyI get: