Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-bash: sails: command not found #630

Closed
blackgun opened this issue Jul 20, 2013 · 8 comments
Closed

-bash: sails: command not found #630

blackgun opened this issue Jul 20, 2013 · 8 comments

Comments

@blackgun
Copy link

GFM:~ Feng$ sails new testProject
-bash: sails: command not found

This is install logs

GFM:~ Feng$ sudo npm -g install sails
Password:
npm http GET https://registry.npmjs.org/sails
npm http 304 https://registry.npmjs.org/sails
unbuild sails@0.9.3
npm http GET https://registry.npmjs.org/express/3.2.6
npm http GET https://registry.npmjs.org/waterline
npm http GET https://registry.npmjs.org/sails-disk
npm http GET https://registry.npmjs.org/socket.io/0.9.14
npm http GET https://registry.npmjs.org/connect-redis/1.4.5
npm http GET https://registry.npmjs.org/connect-mongo/0.3.2
npm http GET https://registry.npmjs.org/winston/0.7.1
npm http GET https://registry.npmjs.org/i18n/0.3.5
npm http GET https://registry.npmjs.org/async/0.2.9
npm http GET https://registry.npmjs.org/optimist/0.3.4
npm http GET https://registry.npmjs.org/fs-extra/0.5.0
npm http GET https://registry.npmjs.org/lodash/1.2.1
npm http GET https://registry.npmjs.org/glob/3.1.14
npm http GET https://registry.npmjs.org/underscore.string/2.3.0
npm http GET https://registry.npmjs.org/include-all
npm http GET https://registry.npmjs.org/inflection/1.2.5
npm http GET https://registry.npmjs.org/node-uuid/1.4.0
npm http GET https://registry.npmjs.org/grunt/0.4.1
npm http GET https://registry.npmjs.org/grunt-cli/0.1.9
npm http GET https://registry.npmjs.org/grunt-contrib-copy/0.4.1
npm http GET https://registry.npmjs.org/grunt-contrib-clean/0.4.1
npm http GET https://registry.npmjs.org/grunt-contrib-concat/0.3.0
npm http GET https://registry.npmjs.org/grunt-sails-linker
npm http GET https://registry.npmjs.org/grunt-contrib-jst/0.5.0
npm http GET https://registry.npmjs.org/grunt-contrib-watch/0.4.4
npm http GET https://registry.npmjs.org/grunt-contrib-cssmin/0.6.1
npm http GET https://registry.npmjs.org/grunt-contrib-less/0.5.2
npm http GET https://registry.npmjs.org/ejs-locals/1.0.2
npm http GET https://registry.npmjs.org/ejs/0.8.4
npm http GET https://registry.npmjs.org/grunt-contrib-uglify/0.2.2
npm http GET https://registry.npmjs.org/coffee-script/1.6.2
npm http 304 https://registry.npmjs.org/waterline
npm http 304 https://registry.npmjs.org/express/3.2.6
npm http GET https://registry.npmjs.org/express/-/express-3.2.6.tgz
npm http 304 https://registry.npmjs.org/sails-disk
npm http 304 https://registry.npmjs.org/socket.io/0.9.14
npm http 304 https://registry.npmjs.org/connect-redis/1.4.5
npm http GET https://registry.npmjs.org/socket.io/-/socket.io-0.9.14.tgz
npm http GET https://registry.npmjs.org/connect-redis/-/connect-redis-1.4.5.tgz
npm http 304 https://registry.npmjs.org/connect-mongo/0.3.2
npm http GET https://registry.npmjs.org/connect-mongo/-/connect-mongo-0.3.2.tgz
npm http 304 https://registry.npmjs.org/winston/0.7.1
npm http GET https://registry.npmjs.org/winston/-/winston-0.7.1.tgz
npm http 304 https://registry.npmjs.org/i18n/0.3.5
npm http 304 https://registry.npmjs.org/async/0.2.9
npm http 304 https://registry.npmjs.org/optimist/0.3.4
npm http GET https://registry.npmjs.org/i18n/-/i18n-0.3.5.tgz
npm http GET https://registry.npmjs.org/async/-/async-0.2.9.tgz
npm http GET https://registry.npmjs.org/optimist/-/optimist-0.3.4.tgz
npm http 304 https://registry.npmjs.org/fs-extra/0.5.0
npm http GET https://registry.npmjs.org/fs-extra/-/fs-extra-0.5.0.tgz
npm http 304 https://registry.npmjs.org/lodash/1.2.1
npm http GET https://registry.npmjs.org/lodash/-/lodash-1.2.1.tgz
npm http 304 https://registry.npmjs.org/glob/3.1.14
npm http 304 https://registry.npmjs.org/underscore.string/2.3.0
npm http 304 https://registry.npmjs.org/include-all
npm http GET https://registry.npmjs.org/glob/-/glob-3.1.14.tgz
npm http GET https://registry.npmjs.org/underscore.string/-/underscore.string-2.3.0.tgz
npm http 304 https://registry.npmjs.org/inflection/1.2.5
npm http GET https://registry.npmjs.org/inflection/-/inflection-1.2.5.tgz
npm http 304 https://registry.npmjs.org/node-uuid/1.4.0
npm http GET https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.0.tgz
npm http 304 https://registry.npmjs.org/grunt/0.4.1
npm http 304 https://registry.npmjs.org/grunt-cli/0.1.9
npm http GET https://registry.npmjs.org/grunt/-/grunt-0.4.1.tgz
npm http 304 https://registry.npmjs.org/grunt-contrib-copy/0.4.1
npm http GET https://registry.npmjs.org/grunt-cli/-/grunt-cli-0.1.9.tgz
npm http GET https://registry.npmjs.org/grunt-contrib-copy/-/grunt-contrib-copy-0.4.1.tgz
npm http 304 https://registry.npmjs.org/grunt-contrib-clean/0.4.1
npm http GET https://registry.npmjs.org/grunt-contrib-clean/-/grunt-contrib-clean-0.4.1.tgz
npm http 304 https://registry.npmjs.org/grunt-contrib-concat/0.3.0
npm http GET https://registry.npmjs.org/grunt-contrib-concat/-/grunt-contrib-concat-0.3.0.tgz
npm http 304 https://registry.npmjs.org/grunt-sails-linker
npm http 304 https://registry.npmjs.org/grunt-contrib-jst/0.5.0
npm http 304 https://registry.npmjs.org/grunt-contrib-watch/0.4.4
npm http GET https://registry.npmjs.org/grunt-contrib-jst/-/grunt-contrib-jst-0.5.0.tgz
npm http GET https://registry.npmjs.org/grunt-contrib-watch/-/grunt-contrib-watch-0.4.4.tgz
npm http 304 https://registry.npmjs.org/grunt-contrib-cssmin/0.6.1
npm http GET https://registry.npmjs.org/grunt-contrib-cssmin/-/grunt-contrib-cssmin-0.6.1.tgz
npm http 304 https://registry.npmjs.org/grunt-contrib-less/0.5.2
npm http GET https://registry.npmjs.org/grunt-contrib-less/-/grunt-contrib-less-0.5.2.tgz
npm http 200 https://registry.npmjs.org/express/-/express-3.2.6.tgz
npm http 304 https://registry.npmjs.org/ejs-locals/1.0.2
npm http GET https://registry.npmjs.org/ejs-locals/-/ejs-locals-1.0.2.tgz
npm http 304 https://registry.npmjs.org/ejs/0.8.4
npm http GET https://registry.npmjs.org/ejs/-/ejs-0.8.4.tgz
npm http 304 https://registry.npmjs.org/grunt-contrib-uglify/0.2.2
npm http 200 https://registry.npmjs.org/socket.io/-/socket.io-0.9.14.tgz
npm http GET https://registry.npmjs.org/grunt-contrib-uglify/-/grunt-contrib-uglify-0.2.2.tgz
npm http 200 https://registry.npmjs.org/connect-redis/-/connect-redis-1.4.5.tgz
npm http 304 https://registry.npmjs.org/coffee-script/1.6.2
npm http GET https://registry.npmjs.org/coffee-script/-/coffee-script-1.6.2.tgz
npm http 200 https://registry.npmjs.org/winston/-/winston-0.7.1.tgz
npm http 200 https://registry.npmjs.org/connect-mongo/-/connect-mongo-0.3.2.tgz
npm http 200 https://registry.npmjs.org/i18n/-/i18n-0.3.5.tgz
npm http 200 https://registry.npmjs.org/async/-/async-0.2.9.tgz
npm http 200 https://registry.npmjs.org/optimist/-/optimist-0.3.4.tgz
npm http 200 https://registry.npmjs.org/fs-extra/-/fs-extra-0.5.0.tgz
npm http 200 https://registry.npmjs.org/lodash/-/lodash-1.2.1.tgz
npm http 200 https://registry.npmjs.org/glob/-/glob-3.1.14.tgz
npm http 200 https://registry.npmjs.org/underscore.string/-/underscore.string-2.3.0.tgz
npm http 200 https://registry.npmjs.org/inflection/-/inflection-1.2.5.tgz
npm http 200 https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.0.tgz
npm http 200 https://registry.npmjs.org/grunt/-/grunt-0.4.1.tgz
npm http 200 https://registry.npmjs.org/grunt-cli/-/grunt-cli-0.1.9.tgz
npm http 200 https://registry.npmjs.org/grunt-contrib-copy/-/grunt-contrib-copy-0.4.1.tgz
npm http 200 https://registry.npmjs.org/grunt-contrib-clean/-/grunt-contrib-clean-0.4.1.tgz
npm http 200 https://registry.npmjs.org/grunt-contrib-concat/-/grunt-contrib-concat-0.3.0.tgz
npm http 200 https://registry.npmjs.org/grunt-contrib-jst/-/grunt-contrib-jst-0.5.0.tgz
npm http 200 https://registry.npmjs.org/grunt-contrib-watch/-/grunt-contrib-watch-0.4.4.tgz
npm http 200 https://registry.npmjs.org/grunt-contrib-cssmin/-/grunt-contrib-cssmin-0.6.1.tgz
npm http 200 https://registry.npmjs.org/grunt-contrib-less/-/grunt-contrib-less-0.5.2.tgz
npm http 200 https://registry.npmjs.org/ejs-locals/-/ejs-locals-1.0.2.tgz
npm http 200 https://registry.npmjs.org/ejs/-/ejs-0.8.4.tgz
npm http 200 https://registry.npmjs.org/grunt-contrib-uglify/-/grunt-contrib-uglify-0.2.2.tgz
npm http 200 https://registry.npmjs.org/coffee-script/-/coffee-script-1.6.2.tgz
npm http GET https://registry.npmjs.org/waterline-criteria
npm http GET https://registry.npmjs.org/fs-extra/0.6.1
npm http GET https://registry.npmjs.org/mongodb
npm http GET https://registry.npmjs.org/resolve
npm http GET https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/findup-sync
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/redis
npm http GET https://registry.npmjs.org/underscore.string/2.3.1
npm http GET https://registry.npmjs.org/sprintf
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/jsonfile
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/ncp
npm http GET https://registry.npmjs.org/grunt-lib-contrib
npm http GET https://registry.npmjs.org/clean-css
npm http 304 https://registry.npmjs.org/fs-extra/0.6.1
npm http GET https://registry.npmjs.org/grunt-lib-contrib
npm http GET https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/waterline-criteria
npm http GET https://registry.npmjs.org/fs-extra/-/fs-extra-0.6.1.tgz
npm http GET https://registry.npmjs.org/wordwrap
npm http 304 https://registry.npmjs.org/findup-sync
npm http GET https://registry.npmjs.org/less
npm http 304 https://registry.npmjs.org/mongodb
npm http 304 https://registry.npmjs.org/debug
npm http 304 https://registry.npmjs.org/redis
npm http 304 https://registry.npmjs.org/nopt
npm http 304 https://registry.npmjs.org/resolve
npm http 304 https://registry.npmjs.org/underscore.string/2.3.1
npm http GET https://registry.npmjs.org/underscore.string/-/underscore.string-2.3.1.tgz
npm http 304 https://registry.npmjs.org/sprintf
npm http 304 https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/mkdirp/0.3.4
npm http GET https://registry.npmjs.org/connect/2.7.11
npm http GET https://registry.npmjs.org/commander/0.6.1
npm http GET https://registry.npmjs.org/range-parser/0.0.4
npm http GET https://registry.npmjs.org/buffer-crc32/0.2.1
npm http GET https://registry.npmjs.org/fresh/0.1.0
npm http GET https://registry.npmjs.org/cookie/0.1.0
npm http GET https://registry.npmjs.org/methods/0.0.1
npm http GET https://registry.npmjs.org/send/0.1.0
npm http GET https://registry.npmjs.org/cookie-signature/1.0.1
npm http 304 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/graceful-fs
npm http 304 https://registry.npmjs.org/jsonfile
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/ncp
npm http 304 https://registry.npmjs.org/grunt-lib-contrib
npm http 304 https://registry.npmjs.org/clean-css
npm http 304 https://registry.npmjs.org/grunt-lib-contrib
npm http 304 https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/wordwrap
npm http 304 https://registry.npmjs.org/less
npm http 304 https://registry.npmjs.org/mkdirp/0.3.4
npm http 304 https://registry.npmjs.org/connect/2.7.11
npm http 304 https://registry.npmjs.org/commander/0.6.1
npm http GET https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.4.tgz
npm http 304 https://registry.npmjs.org/range-parser/0.0.4
npm http 304 https://registry.npmjs.org/buffer-crc32/0.2.1
npm http GET https://registry.npmjs.org/connect/-/connect-2.7.11.tgz
npm http 200 https://registry.npmjs.org/fs-extra/-/fs-extra-0.6.1.tgz
npm http 304 https://registry.npmjs.org/fresh/0.1.0
npm http 304 https://registry.npmjs.org/cookie/0.1.0
npm http 304 https://registry.npmjs.org/methods/0.0.1
npm http GET https://registry.npmjs.org/commander/-/commander-0.6.1.tgz
npm http 304 https://registry.npmjs.org/send/0.1.0
npm http 304 https://registry.npmjs.org/cookie-signature/1.0.1
npm http GET https://registry.npmjs.org/range-parser/-/range-parser-0.0.4.tgz
npm http GET https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz
npm http GET https://registry.npmjs.org/fresh/-/fresh-0.1.0.tgz
npm http GET https://registry.npmjs.org/cookie/-/cookie-0.1.0.tgz
npm http GET https://registry.npmjs.org/methods/-/methods-0.0.1.tgz
npm http GET https://registry.npmjs.org/send/-/send-0.1.0.tgz
npm http GET https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.1.tgz
npm http 200 https://registry.npmjs.org/underscore.string/-/underscore.string-2.3.1.tgz
npm http GET https://registry.npmjs.org/abbrev
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/socket.io-client/0.9.11
npm http GET https://registry.npmjs.org/policyfile/0.0.4
npm http GET https://registry.npmjs.org/redis/0.7.3
npm http GET https://registry.npmjs.org/base64id/0.1.0
npm http GET https://registry.npmjs.org/gaze
npm http GET https://registry.npmjs.org/tiny-lr/0.0.4
npm http GET https://registry.npmjs.org/zlib-browserify/0.0.1
npm http GET https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/commander
npm http 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.4.tgz
npm http 200 https://registry.npmjs.org/connect/-/connect-2.7.11.tgz
npm http 200 https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz
npm http 200 https://registry.npmjs.org/commander/-/commander-0.6.1.tgz
npm http 200 https://registry.npmjs.org/range-parser/-/range-parser-0.0.4.tgz
npm http GET https://registry.npmjs.org/uglify-js
npm http 200 https://registry.npmjs.org/fresh/-/fresh-0.1.0.tgz
npm http 304 https://registry.npmjs.org/abbrev
npm http 200 https://registry.npmjs.org/cookie/-/cookie-0.1.0.tgz
npm http 304 https://registry.npmjs.org/glob
npm http 200 https://registry.npmjs.org/methods/-/methods-0.0.1.tgz
npm http 200 https://registry.npmjs.org/send/-/send-0.1.0.tgz
npm http GET https://registry.npmjs.org/eyes
npm http GET https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/stack-trace
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/cycle
npm http 304 https://registry.npmjs.org/base64id/0.1.0
npm http 200 https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.1.tgz
npm http GET https://registry.npmjs.org/base64id/-/base64id-0.1.0.tgz
npm http 304 https://registry.npmjs.org/gaze
npm http 304 https://registry.npmjs.org/policyfile/0.0.4
npm http 304 https://registry.npmjs.org/redis/0.7.3
npm http 304 https://registry.npmjs.org/tiny-lr/0.0.4
npm http 304 https://registry.npmjs.org/socket.io-client/0.9.11
npm http 304 https://registry.npmjs.org/zlib-browserify/0.0.1
npm http GET https://registry.npmjs.org/redis/-/redis-0.7.3.tgz
npm http GET https://registry.npmjs.org/tiny-lr/-/tiny-lr-0.0.4.tgz
npm http GET https://registry.npmjs.org/policyfile/-/policyfile-0.0.4.tgz
npm http GET https://registry.npmjs.org/socket.io-client/-/socket.io-client-0.9.11.tgz
npm http GET https://registry.npmjs.org/zlib-browserify/-/zlib-browserify-0.0.1.tgz
npm http 304 https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/commander
npm http 304 https://registry.npmjs.org/uglify-js
npm http 304 https://registry.npmjs.org/eyes
npm http GET https://registry.npmjs.org/commander/-/commander-1.3.2.tgz
npm http 304 https://registry.npmjs.org/pkginfo
npm http 304 https://registry.npmjs.org/stack-trace
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/colors
npm http 304 https://registry.npmjs.org/cycle
npm http GET https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.7.tgz
npm http 200 https://registry.npmjs.org/base64id/-/base64id-0.1.0.tgz
npm http GET https://registry.npmjs.org/eventemitter2
npm http GET https://registry.npmjs.org/hooker
npm http GET https://registry.npmjs.org/iconv-lite
npm http GET https://registry.npmjs.org/which
npm http GET https://registry.npmjs.org/underscore.string
npm http GET https://registry.npmjs.org/js-yaml
npm http 200 https://registry.npmjs.org/redis/-/redis-0.7.3.tgz
npm http GET https://registry.npmjs.org/dateformat/1.0.2-1.2.3
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/coffee-script
npm http 200 https://registry.npmjs.org/policyfile/-/policyfile-0.0.4.tgz
npm http 200 https://registry.npmjs.org/socket.io-client/-/socket.io-client-0.9.11.tgz
npm http 200 https://registry.npmjs.org/tiny-lr/-/tiny-lr-0.0.4.tgz
npm http GET https://registry.npmjs.org/findup-sync/-/findup-sync-0.1.2.tgz
npm http GET https://registry.npmjs.org/glob/-/glob-3.1.21.tgz
npm http GET https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz
npm http GET https://registry.npmjs.org/minimatch/-/minimatch-0.2.12.tgz
npm http GET https://registry.npmjs.org/rimraf/-/rimraf-2.0.3.tgz
npm http 200 https://registry.npmjs.org/zlib-browserify/-/zlib-browserify-0.0.1.tgz
npm http 200 https://registry.npmjs.org/commander/-/commander-1.3.2.tgz
npm http 200 https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.7.tgz
npm http 200 https://registry.npmjs.org/findup-sync/-/findup-sync-0.1.2.tgz
npm http 200 https://registry.npmjs.org/glob/-/glob-3.1.21.tgz
npm http 200 https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz
npm http 200 https://registry.npmjs.org/minimatch/-/minimatch-0.2.12.tgz
npm http GET https://registry.npmjs.org/inherits/-/inherits-1.0.0.tgz
npm http 200 https://registry.npmjs.org/rimraf/-/rimraf-2.0.3.tgz
npm http 304 https://registry.npmjs.org/hooker
npm http 304 https://registry.npmjs.org/iconv-lite
npm http 304 https://registry.npmjs.org/eventemitter2
npm http 304 https://registry.npmjs.org/underscore.string
npm http 304 https://registry.npmjs.org/which
npm http 304 https://registry.npmjs.org/js-yaml
npm http 304 https://registry.npmjs.org/dateformat/1.0.2-1.2.3
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/dateformat/-/dateformat-1.0.2-1.2.3.tgz
npm http GET https://registry.npmjs.org/underscore/1.4.4
npm http GET https://registry.npmjs.org/q/0.9.4
npm http GET https://registry.npmjs.org/anchor
npm http 200 https://registry.npmjs.org/inherits/-/inherits-1.0.0.tgz
npm http GET https://registry.npmjs.org/rimraf/-/rimraf-2.1.4.tgz
npm http GET https://registry.npmjs.org/ncp/-/ncp-0.4.2.tgz
npm http GET https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz
npm http 200 https://registry.npmjs.org/dateformat/-/dateformat-1.0.2-1.2.3.tgz
npm http 304 https://registry.npmjs.org/q/0.9.4
npm http 304 https://registry.npmjs.org/underscore/1.4.4
npm http GET https://registry.npmjs.org/keypress
npm http GET https://registry.npmjs.org/q/-/q-0.9.4.tgz
npm http GET https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz
npm http 304 https://registry.npmjs.org/anchor
npm http 200 https://registry.npmjs.org/rimraf/-/rimraf-2.1.4.tgz
npm http 200 https://registry.npmjs.org/ncp/-/ncp-0.4.2.tgz
npm http 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz
npm http 200 https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/source-map
npm http GET https://registry.npmjs.org/bson/0.1.8
npm http 200 https://registry.npmjs.org/q/-/q-0.9.4.tgz
npm http 304 https://registry.npmjs.org/keypress
npm http GET https://registry.npmjs.org/lru-cache/-/lru-cache-2.3.0.tgz
npm http 304 https://registry.npmjs.org/source-map
npm http 304 https://registry.npmjs.org/optimist
npm http 304 https://registry.npmjs.org/bson/0.1.8
npm http GET https://registry.npmjs.org/bson/-/bson-0.1.8.tgz
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/noptify
npm http GET https://registry.npmjs.org/faye-websocket
npm http GET https://registry.npmjs.org/fileset
npm http 200 https://registry.npmjs.org/lru-cache/-/lru-cache-2.3.0.tgz
npm http GET https://registry.npmjs.org/hawk
npm http GET https://registry.npmjs.org/oauth-sign
npm http GET https://registry.npmjs.org/forever-agent
npm http GET https://registry.npmjs.org/aws-sign
npm http GET https://registry.npmjs.org/cookie-jar
npm http GET https://registry.npmjs.org/tunnel-agent
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/json-stringify-safe
npm http GET https://registry.npmjs.org/form-data
npm http GET https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/noptify
npm http 200 https://registry.npmjs.org/bson/-/bson-0.1.8.tgz
npm http 304 https://registry.npmjs.org/qs
npm http 304 https://registry.npmjs.org/faye-websocket
npm http GET https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.4.4.tgz
npm http 304 https://registry.npmjs.org/oauth-sign
npm http 304 https://registry.npmjs.org/forever-agent
npm http 304 https://registry.npmjs.org/aws-sign
npm http 304 https://registry.npmjs.org/fileset
npm http 304 https://registry.npmjs.org/cookie-jar
npm http 304 https://registry.npmjs.org/tunnel-agent
npm http 304 https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/fileset/-/fileset-0.1.5.tgz
npm http 304 https://registry.npmjs.org/form-data
npm http 304 https://registry.npmjs.org/json-stringify-safe
npm http 304 https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.3.tgz
npm http 304 https://registry.npmjs.org/hawk
npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.13","npm":"1.3.2"})
npm http 200 https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.4.4.tgz
npm http GET https://registry.npmjs.org/combined-stream
npm http 200 https://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.3.tgz
npm http 200 https://registry.npmjs.org/fileset/-/fileset-0.1.5.tgz
npm http GET https://registry.npmjs.org/argparse
npm http GET https://registry.npmjs.org/esprima
npm http GET https://registry.npmjs.org/amdefine
npm http 304 https://registry.npmjs.org/combined-stream
npm http 304 https://registry.npmjs.org/esprima
npm http 304 https://registry.npmjs.org/argparse
npm http 304 https://registry.npmjs.org/amdefine
npm http GET https://registry.npmjs.org/ycssmin
npm http GET https://registry.npmjs.org/hoek
npm http GET https://registry.npmjs.org/boom
npm http GET https://registry.npmjs.org/cryptiles
npm http GET https://registry.npmjs.org/sntp
npm http GET https://registry.npmjs.org/delayed-stream/0.0.5
npm http GET https://registry.npmjs.org/lru-cache/-/lru-cache-2.3.0.tgz
npm http 304 https://registry.npmjs.org/ycssmin
npm http 304 https://registry.npmjs.org/delayed-stream/0.0.5
npm http GET https://registry.npmjs.org/delayed-stream/-/delayed-stream-0.0.5.tgz
npm http 304 https://registry.npmjs.org/hoek
npm http 304 https://registry.npmjs.org/cryptiles
npm http 304 https://registry.npmjs.org/sntp
npm http 304 https://registry.npmjs.org/boom
npm http GET https://registry.npmjs.org/cryptiles/-/cryptiles-0.1.3.tgz
npm http 200 https://registry.npmjs.org/lru-cache/-/lru-cache-2.3.0.tgz
npm http GET https://registry.npmjs.org/underscore
npm http 200 https://registry.npmjs.org/delayed-stream/-/delayed-stream-0.0.5.tgz
npm http 200 https://registry.npmjs.org/cryptiles/-/cryptiles-0.1.3.tgz
npm http 304 https://registry.npmjs.org/underscore
npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.13","npm":"1.3.2"})
npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.13","npm":"1.3.2"})
npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.13","npm":"1.3.2"})
npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.13","npm":"1.3.2"})
npm http GET https://registry.npmjs.org/mime/1.2.6
npm http 304 https://registry.npmjs.org/mime/1.2.6
npm http GET https://registry.npmjs.org/qs/0.6.5
npm http GET https://registry.npmjs.org/formidable/1.0.14
npm http GET https://registry.npmjs.org/send/0.1.1
npm http GET https://registry.npmjs.org/cookie/0.0.5
npm http GET https://registry.npmjs.org/bytes/0.2.0
npm http GET https://registry.npmjs.org/pause/0.0.1
npm http GET https://registry.npmjs.org/validator/0.4.22
npm http GET https://registry.npmjs.org/async/0.2.6
npm http 304 https://registry.npmjs.org/cookie/0.0.5
npm http GET https://registry.npmjs.org/cookie/-/cookie-0.0.5.tgz
npm http 304 https://registry.npmjs.org/bytes/0.2.0
npm http 304 https://registry.npmjs.org/qs/0.6.5
npm http GET https://registry.npmjs.org/bytes/-/bytes-0.2.0.tgz
npm http 304 https://registry.npmjs.org/formidable/1.0.14
npm http GET https://registry.npmjs.org/qs/-/qs-0.6.5.tgz
npm http 304 https://registry.npmjs.org/send/0.1.1
npm http GET https://registry.npmjs.org/formidable/-/formidable-1.0.14.tgz
npm http GET https://registry.npmjs.org/send/-/send-0.1.1.tgz
npm http 304 https://registry.npmjs.org/pause/0.0.1
npm http GET https://registry.npmjs.org/pause/-/pause-0.0.1.tgz
npm http 304 https://registry.npmjs.org/validator/0.4.22
npm http GET https://registry.npmjs.org/validator/-/validator-0.4.22.tgz
npm http 304 https://registry.npmjs.org/async/0.2.6
npm http 200 https://registry.npmjs.org/cookie/-/cookie-0.0.5.tgz
npm http 200 https://registry.npmjs.org/bytes/-/bytes-0.2.0.tgz
npm http 200 https://registry.npmjs.org/qs/-/qs-0.6.5.tgz
npm http 200 https://registry.npmjs.org/formidable/-/formidable-1.0.14.tgz
npm http 200 https://registry.npmjs.org/send/-/send-0.1.1.tgz
npm http 200 https://registry.npmjs.org/pause/-/pause-0.0.1.tgz
npm http 200 https://registry.npmjs.org/validator/-/validator-0.4.22.tgz

> bson@0.1.8 install /usr/local/share/npm/lib/node_modules/sails/node_modules/connect-mongo/node_modules/mongodb/node_modules/bson
> (node-gyp rebuild 2> builderror.log) || (exit 0)

npm http GET https://registry.npmjs.org/uglify-js/1.2.5
npm http GET https://registry.npmjs.org/xmlhttprequest/1.4.2
npm http GET https://registry.npmjs.org/ws
npm http GET https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http 304 https://registry.npmjs.org/uglify-js/1.2.5
npm http GET https://registry.npmjs.org/uglify-js/-/uglify-js-1.2.5.tgz
npm http 304 https://registry.npmjs.org/xmlhttprequest/1.4.2
npm http 304 https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http GET https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.4.2.tgz
npm http 304 https://registry.npmjs.org/ws
  CXX(target) Release/obj.target/bson/ext/bson.o
npm http 200 https://registry.npmjs.org/uglify-js/-/uglify-js-1.2.5.tgz
npm http 200 https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.4.2.tgz
npm http GET https://registry.npmjs.org/zeparser/0.0.5
npm http GET https://registry.npmjs.org/tinycolor
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/options
  SOLINK_MODULE(target) Release/bson.node
npm http 304 https://registry.npmjs.org/zeparser/0.0.5
  SOLINK_MODULE(target) Release/bson.node: Finished
npm http 304 https://registry.npmjs.org/tinycolor
npm http 304 https://registry.npmjs.org/options
npm http 304 https://registry.npmjs.org/commander

> ws@0.4.27 install /usr/local/share/npm/lib/node_modules/sails/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/bufferutil.node
  SOLINK_MODULE(target) Release/bufferutil.node: Finished
  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/validation.node
  SOLINK_MODULE(target) Release/validation.node: Finished
/usr/local/share/npm/bin/sails -> /usr/local/share/npm/lib/node_modules/sails/bin/sails.js
sails@0.9.3 /usr/local/share/npm/lib/node_modules/sails
├── inflection@1.2.5
├── grunt-sails-linker@0.9.2
├── node-uuid@1.4.0
├── grunt-contrib-clean@0.4.1
├── async@0.2.9
├── grunt-contrib-concat@0.3.0
├── grunt-contrib-copy@0.4.1
├── i18n@0.3.5 (sprintf@0.1.1)
├── ejs-locals@1.0.2
├── ejs@0.8.4
├── optimist@0.3.4 (wordwrap@0.0.2)
├── fs-extra@0.5.0 (jsonfile@0.0.1, ncp@0.2.7, mkdirp@0.3.5, rimraf@2.1.4)
├── underscore.string@2.3.0
├── coffee-script@1.6.2
├── glob@3.1.14 (inherits@1.0.0, graceful-fs@1.1.14, minimatch@0.2.12)
├── connect-redis@1.4.5 (debug@0.7.2, redis@0.7.3)
├── grunt-contrib-cssmin@0.6.1 (grunt-lib-contrib@0.6.1, clean-css@1.0.12)
├── grunt-contrib-uglify@0.2.2 (grunt-lib-contrib@0.6.1, uglify-js@2.3.6)
├── sails-disk@0.9.0 (waterline-criteria@0.9.0, fs-extra@0.6.1)
├── lodash@1.2.1
├── grunt-contrib-jst@0.5.0 (grunt-lib-contrib@0.5.3, lodash@1.0.1)
├── winston@0.7.1 (cycle@1.0.2, stack-trace@0.0.7, eyes@0.1.8, colors@0.6.0-1, pkginfo@0.3.0, request@2.16.6)
├── grunt-contrib-watch@0.4.4 (gaze@0.3.4, tiny-lr@0.0.4)
├── grunt-contrib-less@0.5.2 (less@1.3.3)
├── include-all@0.1.0 (underscore.string@2.3.1)
├── grunt@0.4.1 (which@1.0.5, dateformat@1.0.2-1.2.3, colors@0.6.0-1, hooker@0.2.3, async@0.1.22, nopt@1.0.10, rimraf@2.0.3, eventemitter2@0.4.12, coffee-script@1.3.3, minimatch@0.2.12, underscore.string@2.2.1, glob@3.1.21, iconv-lite@0.2.11, lodash@0.9.2, js-yaml@2.0.5, findup-sync@0.1.2)
├── waterline@0.9.0 (underscore@1.4.4, q@0.9.4, anchor@0.9.0)
├── express@3.2.6 (methods@0.0.1, fresh@0.1.0, range-parser@0.0.4, cookie-signature@1.0.1, buffer-crc32@0.2.1, cookie@0.1.0, debug@0.7.2, commander@0.6.1, mkdirp@0.3.4, send@0.1.0, connect@2.7.11)
├── grunt-cli@0.1.9 (resolve@0.3.1, nopt@1.0.10, findup-sync@0.1.2)
├── connect-mongo@0.3.2 (mongodb@1.2.14)
└── socket.io@0.9.14 (base64id@0.1.0, policyfile@0.0.4, redis@0.7.3, socket.io-client@0.9.11)
GFM:~ Feng$ 
@xdissent
Copy link
Member

export PATH=$PATH:/usr/local/share/npm/bin

@blackgun
Copy link
Author

Thanks, it works. I didn't find this step , how do you know it?

@xdissent
Copy link
Member

It has more to do with your NPM setup than it does Sails itself. But I guess it couldn't hurt to mention it in the docs.

@mikedevita
Copy link
Contributor

you should also do this: https://gist.github.com/mikedevita/6002640. Its not good practice to use sudo npm install

Running npm install as sudo can cause file permission issues with some generators such as sails new <app> it will also make you have to run things as sudo most the time.. things like sails lift or bower install or grunt server

@xdissent
Copy link
Member

@mikedevita he's not hitting permission issues, he just didn't have npm's bin folder in his path.

@mikedevita
Copy link
Contributor

Yeah i know i was just providing more info for him. I had to do the exact same thing when i setup node/npm first time.

@pethin
Copy link
Contributor

pethin commented Jul 20, 2013

NVM is a great. It doesn't require root permissions and works per-user.

@blackgun
Copy link
Author

Thanks guys. I just followed the tutorial at http://sailsjs.org/#!getStarted
sudo npm -g install sails
If "sudo" is unnecessary and has potential harm, is that a good idea to ask author to remove it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants