jaredly / jaredly/reprocessing-example-cross-platform

Broken Installation on Mojave (includes fix)

Offen
#4 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
OCaml
Sterne
50
Forks
5
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit src/scripts/check_reqs.js und den Paketabhängigkeiten, die an npm install beteiligt sind, insbesondere reprocessing-scripts und bs-native. Reproduziere den Installationsfehler auf den gemeldeten macOS-Versionen und überprüfe anschließend, dass die Installation ohne die Xcode- und bsb-native-Fehler abgeschlossen wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
macos, node.js, ocaml
Bereich
build-system
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.