eclipse-emfcloud / ecore-glsp

ecore-glsp
Other
32 stars 25 forks source link

Build failure client on Mac #77

Closed msche closed 3 years ago

msche commented 3 years ago

I checked out the project from the github repo and followed the installation instructions as described. Building the server part goes oke, but when executing yarn on the client part I get the following exception:

warning "workspace-aggregator-f3a5ae25-fba5-4e51-b9ce-de682b5a1977 > browser-app > @theia/cli > @theia/application-manager > font-awesome-webpack@0.0.5-beta.2" has unmet peer dependency "font-awesome@>=4.3.0".
warning "workspace-aggregator-f3a5ae25-fba5-4e51-b9ce-de682b5a1977 > browser-app > @theia/cli > @theia/application-manager > font-awesome-webpack > less-loader@2.2.3" has incorrect peer dependency "less@^2.3.1".
warning Workspaces can only be enabled in private projects.
[5/5] 🔨  Building fresh packages...
[1/10] â¡€ command-join
[6/10] â¡€ drivelist
[3/10] â¡€ fsevents
[4/10] â¡€ nsfw
error /Users/markschenk/development/workspace/uniknow/ecore-glsp/client/node_modules/nsfw: Command failed.
Exit code: 1
Command: node-gyp rebuild

I'm building the project on a mac OS catalina 10.15.7

msche commented 3 years ago

I noted the following lines in the logs:

gyp: No Xcode or CLT version detected!
gyp ERR! configure error 

After some searching I found the following article: https://medium.com/flawless-app-stories/gyp-no-xcode-or-clt-version-detected-macos-catalina-anansewaa-38b536389e8d

After applying solution 2 my build finished successfully.