Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Cant install on Ubuntu 16.02 LTS #183

Closed
hueboy opened this issue Jan 8, 2017 · 12 comments
Closed

Cant install on Ubuntu 16.02 LTS #183

hueboy opened this issue Jan 8, 2017 · 12 comments

Comments

@hueboy
Copy link

hueboy commented Jan 8, 2017

i was not able to install the command line tools globally using npm install bespoken-tools --save. I have also tried using sudo but no luck. The installation in both the cases works fine but when run bst all I see is

No command 'bst' found, did you mean:
Command 'tst' from package 'pvm-examples' (universe)
Command 'ast' from package 'jruby' (universe)
Command 'bsf' from package 'code-aster-gui' (universe)
Command 'rst' from package 'bro-aux' (universe)
Command 'bts' from package 'devscripts' (main)
Command 'btt' from package 'blktrace' (universe)
Command 'bist' from package 'bist' (universe)
Command 'bat' from package 'bareos-bat' (universe)
Command 'bat' from package 'bacula-console-qt' (universe)
Command 'gst' from package 'gnu-smalltalk' (universe)
Command 'bsh' from package 'bsh' (universe)
bst: command not found

node v4.7.2
npm 2.15.11

@jkelvie
Copy link
Member

jkelvie commented Jan 9, 2017

@hueboy Did you install it with the "-g" flag? The command "bst" won't be available from the command-line unless you do.

Installing it locally in a project is for using our API programmatically, as opposed to through the command-line interface.

@hueboy
Copy link
Author

hueboy commented Jan 9, 2017 via email

@jkelvie
Copy link
Member

jkelvie commented Jan 9, 2017

Great, thanks for updating us. Can you run bst commands after installing using -g? Or are you still getting the error "No bst command found"?

@hueboy
Copy link
Author

hueboy commented Jan 9, 2017 via email

@OpenDog
Copy link
Contributor

OpenDog commented Jan 9, 2017

Raghu,

I just fired up a 16.04. I use nvm to manage node versions.

I did this:

  1. curl https://raw.githubusercontent.com/creationix/nvm/v0.25.0/install.sh | bash
  2. logout/login to get the shell variables
  3. nvm install 6.3
  4. nvm use 6.3
  5. npm install bespoken-tools -g
  6. bst proxy http 3000

Can you try it?

@hueboy
Copy link
Author

hueboy commented Jan 10, 2017 via email

@OpenDog
Copy link
Contributor

OpenDog commented Jan 10, 2017

Now you are bumping into the old (non nvm install) I assume. What is the path of npm?
What does "type npm" command say?

@hueboy
Copy link
Author

hueboy commented Jan 10, 2017 via email

@hueboy
Copy link
Author

hueboy commented Jan 10, 2017 via email

@jkelvie
Copy link
Member

jkelvie commented Jan 10, 2017

@hueboy You can talk to us gitter also. That can be quicker for these conversations.

@OpenDog
Copy link
Contributor

OpenDog commented Jan 10, 2017 via email

@jkelvie
Copy link
Member

jkelvie commented Jan 12, 2017

Closing as this was resolved based on discussion in gitter.

@jkelvie jkelvie closed this as completed Jan 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants