bsansouci / bsb-native

Build system for OCaml/Reason
Other
245 stars 10 forks source link

Fix bsb-native to work with npm5 #11

Closed bsansouci closed 6 years ago

bsansouci commented 6 years ago

This has been a very annoying one for everyone. About 80% of problems lately have been when someone tries to install using npm5. It always takes me a while to diagnose.

ox commented 6 years ago

I was running into this issue and tried to debug it. A workaround that I found was cloning the repo and installing it as a symbolic dep:

npm install -D bs-platform@file:../bsb-native

After that everything worked well.

I have saved logs of both compilations in this gist. Hopefully it might shed some light on what's different for anyone digging into this issue.

Schmavery commented 6 years ago

Solved by installing bsansouci/bsb-native#2.1.1 @bsansouci

bsansouci commented 6 years ago

Yup! Closing.