Although we already have good answers, I will give an additional hint. Check if there is a .npmrc file inside the / Users / YOUR _USER / folder. When this problem arose with me, my .npmrc file had this content:
http_proxy=http://<LOGIN>:<PASSWORD>@<PROXY>:<PORT> https_proxy=http://<LOGIN>:<PASSWORD>@<PROXY>:<PORT> proxy=http://<LOGIN>:<PASSWORD>@<PROXY>:<PORT>/ https-proxy=http://<LOGIN>:<PASSWORD>@<PROXY>:<PORT> prefix = "D:\\<SOME_DIR>\\nodejs" cache = "D:\\<SOME_DIR>\\nodejs\\npm-cache"
Because of the lines, the prefix and cache, the gazebo was installed inside the folder specified in the prefix.
SOLUTION: I deleted the line prefix and cache . I installed the gazebo again with the following command:
npm install -g bower
After that, my gazebo became global, as expected.
André Leitão Jan 26 '17 at 17:52 2017-01-26 17:52
source share