Closed lajlev closed 8 years ago
Here is my log:
[~/Sites/test] $ sudo npm install -g autosave Password: npm http GET https://registry.npmjs.org/autosave npm http 304 https://registry.npmjs.org/autosave npm http GET https://registry.npmjs.org/commander npm http 304 https://registry.npmjs.org/commander /usr/local/share/npm/bin/autosave -> /usr/local/share/npm/lib/node_modules/autosave/bin/autosave
autosave@1.0.3 install /usr/local/share/npm/lib/node_modules/autosave node ./scripts/install.js
To start autosave on OS launch run: npm run-script -g autosave autostart
autosave@1.0.3 /usr/local/share/npm/lib/node_modules/autosave └── commander@0.5.2 [~/Sites/test] $ autosave -bash: autosave: command not found [~/Sites/test] $
I had the same problem but solved it. Just add the path to the autosave executable in your path. On my macbook it is /usr/local/share/npm/bin.
Here is my log:
[~/Sites/test] $ sudo npm install -g autosave Password: npm http GET https://registry.npmjs.org/autosave npm http 304 https://registry.npmjs.org/autosave npm http GET https://registry.npmjs.org/commander npm http 304 https://registry.npmjs.org/commander /usr/local/share/npm/bin/autosave -> /usr/local/share/npm/lib/node_modules/autosave/bin/autosave
To start autosave on OS launch run: npm run-script -g autosave autostart
autosave@1.0.3 /usr/local/share/npm/lib/node_modules/autosave └── commander@0.5.2 [~/Sites/test] $ autosave -bash: autosave: command not found [~/Sites/test] $