revery-ui / revery

:zap: Native, high-performance, cross-platform desktop apps - built with Reason!
https://www.outrunlabs.com/revery/
MIT License
8.07k stars 197 forks source link

Having problem with building revery-quick-start project on Mac #1041

Open piyush1104 opened 3 years ago

piyush1104 commented 3 years ago

I was not able to install esy_harfbuzz package because it was giving me permission denied error-

error: Permission denied
  installing @revery/esy-harfbuzz@2.6.8001
esy: exiting due to errors above

So I gave 777 to the whole revery__s__esy_harfbuzz__2.6.8001__e8df4ff9 folder. Then I tricked esy to use this folder for installation by compressing into .tgz format. Then I created the folder _esyinstall and copied the compressed file here. After that I ran -

esy install --cache-tarballs-path=./_esyinstall

I don't know whether the build is failing is because of this or not.

zbaylin commented 3 years ago

Hi @piyush1104 -- what version of esy are you using?

piyush1104 commented 3 years ago

I am currently using nightly build of esy with version 0.6.8 . But earlier I have also tried with 0.6.7 (only harfbuzz problem that I faced, after that I moved to nightly version).

zbaylin commented 3 years ago

esy 0.6.8 is still in beta, so I would first recommend trying to install 0.6.7, and running the following commands (to basically start from scratch):

revery-quick-start is fairly outdated, so I would recommend just trying to run the examples from this repo

piyush1104 commented 3 years ago

I have also tried building the oni2 project. But that also failed with same error. Right now, I am trying to build both revery-quick-start and oni2 projects with esy 0.6.7.

piyush1104 commented 3 years ago

@zbaylin It failed with the same errors with esy 0.6.7. I think this error has been reported before on mac laptops. I saw some comments on Discord, but I was not able to find any resolution in the responses.

nailuj29 commented 3 years ago

Having the same problem on Pop! OS 20.10

Et7f3 commented 3 years ago

OCAMLRUNPARAM=b esy we should be able to see with find failed.