reasonml / ReasonNativeProject

Reason native compilation starter project
MIT License
203 stars 45 forks source link

npm run top - Fatal Error: "Config File not found #18

Closed peterpme closed 7 years ago

peterpme commented 7 years ago

Followed tutorial, ran through the following commands:

Node: 7.7.0 Npm: 4.1.2

> ReasonProject@0.0.1 top /Users/peter/Sites/ReasonProject
> eval $(dependencyEnv) && rtop

Fatal error: exception Failure("Config file not found - neither /Users/peter/sites/ReasonProject/_build/ocamlfind/lib/findlib.conf nor the directory /Users/peter/sites/ReasonProject/_build/ocamlfind/lib/findlib.conf.d")
Raised at file "pervasives.ml", line 30, characters 22-33
Called from file "findlib.ml", line 158, characters 1-77
Called from file "findlib.ml", line 332, characters 2-13
Called from file "topfind.ml", line 11, characters 24-46

npm ERR! Darwin 16.4.0
npm ERR! argv "/Users/peter/.nvm/versions/node/v7.7.0/bin/node" "/Users/peter/.nvm/versions/node/v7.7.0/bin/npm" "run" "top"
npm ERR! node v7.7.0
npm ERR! npm  v4.1.2
peterpme commented 7 years ago

Oh, I ran npm run reasonBuild and this started working. Is this supposed to be the command I run before hand?

jordwalke commented 7 years ago

Yeah, because you cleaned in between, right?

peterpme commented 7 years ago

Yes