superfly / fly

Deploy app servers close to your users. Package your app as a Docker image, and launch it in 17 cities with one simple CLI.
https://fly.io
985 stars 48 forks source link

"@fly/fly@0.42.0-pre.3" has no binaries #167

Closed benswinburne closed 6 years ago

benswinburne commented 6 years ago

Having installed with yarn (granted the example uses npm)

I get the following error

... "@fly/fly@0.42.0-pre.3" has no binaries Done in 17.84s.

Which obviously results in an inability to run any fly commands.

# ~/playground: which fly
# ~/playground:

Is this a bug or simply me doing something wrong?

mrkurt commented 6 years ago

That was a bug, that's a prerelease version NPM somehow picked up as a real release. Will you try installing it again? You should get 0.41.0.

Also you'll need to make sure you get yarn global to get the executables in the right place.

benswinburne commented 6 years ago

success Installed "@fly/fly@0.41.0" with binaries:

  • fly

👍

# ~/playground which fly
/Users/###/.npm-packages/bin/fly

👍

Thanks

mrkurt commented 6 years ago

party