Closed yaxinhoo closed 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
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 ?
Did the staticProvider fix resolve this issue for you?
nm, that shouldn't affect this, this was fixed in 96ac0c11c68590ea8a9e4e05062bc774ee773ae7
yeah static replace staticProvider
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?