jaredly / jaredly/reprocessing-example-cross-platform

Broken Installation on Mojave (includes fix)

Ouverte
#4 2 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
OCaml
Étoiles
50
Forks
5
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Commencez par src/scripts/check_reqs.js et les dépendances de paquets impliquées dans npm install, en particulier reprocessing-scripts et bs-native. Reproduisez l’échec de l’installation sur les versions de macOS signalées, puis vérifiez que l’installation se termine sans les erreurs liées à Xcode et bsb-native.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
macos, node.js, ocaml
Domaine
build-system
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
30/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.