mhtess / rwebppl

RWebPPL, an R interface to Webppl http://webppl.org
22 stars 7 forks source link

Use npm root to check for existing webppl installation #26

Closed hawkrobe closed 8 years ago

hawkrobe commented 8 years ago

Currently, we just check the default location for npm install -g webppl, which is /usr/local/lib/node_modules/webppl. This is fine for most users, but it would be safer to check

npm root -g

in case the user is using a different configuration.

hawkrobe commented 8 years ago

closed by 5077274b2843df03f39e51f04910ff69a9a57617