jaredly / jaredly/reprocessing-example-cross-platform

Broken Installation on Mojave (includes fix)

Aperta
#4 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
OCaml
Stelle
50
Fork
5
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I know this is an old repo and things have moved on, but it would be amazing to upgrade this to work Mojave (and later Catalina).

On two machines running Mojave 10.14.7, I've had this fail to install with:

```
> ./src/scripts/check_reqs.js && xcodebuild

You need at least Xcode 7.0 when you are on OS X 10.11 El Capitan (you have version 11.1)
npm WARN reprocessing-example-cross-platform@1.0.3 No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ios-deploy@1.9.2 preinstall: `./src/scripts/check_reqs.js && xcodebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ios-deploy@1.9.2 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
```

To get past this, I had to update a few things:

* The reprocessing-scripts dependency to `"reprocessing-scripts": "Gregoirevda/reprocessing-scripts"`, which brings in the changes in this PR: https://github.com/jaredly/reprocessing-scripts/pull/5 -- would be awesome to merge this or something similar without the custom dependencies.

This then progresses further and eventually fails with complaints about bsb-native not being available.

* Updated the `bs-native` dependency in this project to 4.0.6, which allowed post install to complete 😸 . I've tried `4.0.7000`, which also works.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia da src/scripts/check_reqs.js e dalle dipendenze dei pacchetti coinvolte in npm install, in particolare reprocessing-scripts e bs-native. Riproduci il fallimento dell’installazione sulle versioni di macOS segnalate, quindi verifica che l’installazione venga completata senza gli errori di Xcode e bsb-native.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
macos, node.js, ocaml
Ambito
build-system
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.