wavded / ogre

ogr2ogr geojson-focused web client
http://ogre.adc4gis.com
MIT License
266 stars 79 forks source link

ogre:command not found #5

Closed yaxinhoo closed 13 years ago

yaxinhoo commented 13 years ago

i use node v0.4.8 and install npm install -g ogre success . but when i type ogre to running .

i got xxx@ubuntu~/ogre$ogre ogre:command not found

anything wrong?

wavded commented 13 years ago

Sounds like ogre is not in your path. Typically npm either installs executables in /usr/local/bin but it may be under ~/.local/bin Whichever it is, that will need to be added to your PATH. Typically this is already setup for you if its in /usr/local/bin, not sure about .local though. Do you know where it was installed. You can find out by

sudo updatedb
locate ogre
yaxinhoo commented 13 years ago

yeah , it sup in /usr/local/bin and /usr/local/lib/node_modules/ogre and /usr/local/bin is in my $PATH but not setup in ~/.local/bin. i try add /usr/local/lib/node_modules/ogre to the PATH, but fail to run too. what else can i do to run it ?

wavded commented 13 years ago

Did the staticProvider fix resolve this issue for you?

wavded commented 13 years ago

nm, that shouldn't affect this, this was fixed in 96ac0c11c68590ea8a9e4e05062bc774ee773ae7

yaxinhoo commented 13 years ago

yeah static replace staticProvider