Infinitex icon indicating copy to clipboard operation
Infinitex copied to clipboard

Cannot build on macOS Mojave

Open strawberry-code opened this issue 6 years ago • 1 comments

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 [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] 🔗  Linking dependencies...
warning " > [email protected]" has unmet peer dependency "webpack@^2.0.0 || ^3.0.0".
warning "pdfjs-dist > [email protected]" has unmet peer dependency "webpack@^2.0.0 || ^3.0.0".
warning "react-pdf > [email protected]" 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.

strawberry-code avatar Nov 26 '18 16:11 strawberry-code

In order to build you have to do yarn dist:minify and in order to launch in development npm start. I am finally able to work with macOS but I need to modify some stuff in order for it to be functional. By the end of the year there will be an official release for macOS #5

fetacore avatar Dec 03 '18 12:12 fetacore