jaredly / jaredly/reprocessing-example-cross-platform
Compilation error when installing dependencies with yarn
- Langage dominant
- OCaml
- Étoiles
- 50
- Forks
- 5
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Hi Jared,
I am trying to run this example but I can't due I get the following error while installing the dependencies with `yarn`.
yarn install v1.3.2
info No lockfile found.
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 📃 Building fresh packages...
[1/7] ⡀ sdl2
[2/7] ⡀ ppx-env: ninja: Entering directory `lib/bs'
[3/7] ⢀ matchenv: [2/3] Building src/index.mlast
[4/7] ⢀ bs-platform
error /Users/arielschiavoni/Projects/opensource/reprocessing-example-cross-platform/node_modules/matchenv: Command failed.
Exit code: 2
Command: bsb && cp lib/bs/native/index.native matchenv
Arguments:
Directory: /Users/arielschiavoni/Projects/opensource/reprocessing-example-cross-platform/node_modules/matchenv
Output:
ninja: Entering directory `lib/bs'
[1/3] Building Matchenv.cmi
[2/3] Building src/index.mlast
[3/3] Building src/index.mlast.d
[1/1] Building src/index-Matchenv.cmj
FAILED: src/index-Matchenv.cmj /Users/arielschiavoni/Projects/opensource/reprocessing-example-cross-platform/node_modules/matchenv/lib/js/src/index.js src/index-Matchenv.cmi
/usr/local/lib/node_modules/bs-platform/lib/bsc.exe -bs-package-map matchenv -bs-package-output commonjs:lib/js/src -bs-assume-no-mli -bs-no-builtin-ppx-ml -bs-no-implicit-include -I . -I src -w -30-40+6+7+27+32..39+44+45+101 -nostdlib -I '/Users/arielschiavoni/Projects/opensource/reprocessing-example-cross-platform/node_modules/bs-platform/lib/ocaml' -no-alias-deps -color always -bs-re-out -bs-super-errors -o src/index-Matchenv.cmj -c src/index.mlast
We've found a bug for you!
command line
The module or file Pervasives can't be found.
- If it's a third-party dependency:
- Did you list it in bsconfig.json?
- Did you run `bsb` instead of `bsb -make-world`
(latter builds third-parties)?
Thanks!
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par reproduire `yarn install` et inspectez le build en échec dans `node_modules/matchenv`, en particulier `lib/bs` et la sortie de la commande `bsb`. Cherchez pourquoi `bs-platform` ne trouve pas `Pervasives` ; c’est terminé lorsque les dépendances de l’exemple s’installent sans l’erreur de compilation.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- ocaml
- Domaine
- build-system
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100