jeff1evesque / grunt

Automates Sass, Uglify, Imagemin, Modernizr
1 stars 0 forks source link

Grunt initialization #7

Closed jeff1evesque closed 10 years ago

jeff1evesque commented 10 years ago

When all submodules (plugins) have been installed (#2):

$ cd /var/www/grunt/node_modules/[SUBMODULE]
$ npm install --production

run the following:

$ cd /var/www/grunt
$ npm rebuild
$ node_modules/grunt sass
jeff1evesque commented 10 years ago

IRC #grunt (07/02/14 ~ 9:45pm EST):

jeffreylevesque: vladikoff, what does `node_modules/.bin/grunt sass` command do?
vladikoff:       jeffreylevesque, runs the grunt-cli locally
vladikoff:       jeffreylevesque, runs the sass task
jeffreylevesque: do I need to run that command every time i need to compile sass?
vladikoff:       jeffreylevesque, yea, otherwise you use `grunt-contrib-watch` or something else to keep track of the changes
jeffreylevesque: vladikoff, before I even attempt `node_modules/.bin/grunt sass`, I need to have the Gruntfile.js file
vladikoff:       jeffreylevesque, yes
vladikoff:       jeffreylevesque, you can try `node_modules/.bin/grunt --help` see if that works
jeff1evesque commented 10 years ago

We attempted to run the install command:

$ cd /var/www/grunt/node_modules/grunt
$ npm install --production
[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF

Then, a pop-up title Non-Parametric Mapping displayed with the following content:

Chris Rorden's NPM  :: 2 November 2010 (Debian) CacheMB = 512; Threads used = 1
jeff1evesque commented 10 years ago

We checked-out the most recent release for the Grunt submodule (https://github.com/jeff1evesque/grunt/issues/28). Now, we re-attempt to install the Grunt submodule (plug-in):

$ cd /var/www/grunt/node_modules/grunt
$ npm install --production
[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF

Then, a pop-up title Non-Parametric Mapping displayed with the following content:

Chris Rorden's NPM  :: 2 November 2010 (Debian) CacheMB = 512; Threads used = 1
jeff1evesque commented 10 years ago

Since we are running an older version of Ubuntu (11.04) on our VirtualBox, we will need to acquire node.js using wget, and extract it into the correct system directory. Otherwise, for newer versions of Ubuntu, we'd be able to either use the ppa, or simply execute the sudo apt-get equivalent.

IRC #node.js (07/03/14 ~ 9:40pm EST):

jeffreylevesque: I tried `npm install --production` for Grunt, and got some Warning messages
zchrykng:        jeffreylevesque, version of node and npm?
jeffreylevesque: node v0.2.6
TehShrike:       jeffreylevesque, 8-|
systemfault:     jeffreylevesque, 0.8 is old.
TehShrike:       jeffreylevesque, http://nodejs.org/download/
zchrykng:        jeffreylevesque, get yourself a ppa and update everything.
jeffreylevesque: Darkingz, tried `npm --version` and got the same Warning messages as https://github.com/jeff1evesque/grunt/issues/7#issuecomment-47946154
zchrykng:        jeffreylevesque, you probably should just clobber all the node stuff and install from the website.
jeffreylevesque: zchrykng, what is ppa, and can I `sudo apt-get` it?
zchrykng:        jeffreylevesque, https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
jeff1evesque commented 10 years ago

First, we determine where node.js installed to:

$ whereis node
node: /usr/bin/node  /usr/share/man/man1/node.1.gz

Then, we can remove it with the following:

$ sudo apt-get remove nodejs

But, we want to remove all things related to node.js, since we will reinstall it (via the web, wget):

$ sudo apt-get --purge remove nodejs

When we check where node.js installed to, we find it no longer exists:

$ whereis node
node:
jeff1evesque commented 10 years ago

Now, we download a more recent version of node.js, and extract, and decompress the file:

$ cd /var/www/grunt
$ sudo wget http://nodejs.org/dist/v0.10.29/node-v0.10.29.tar.gz -O - | tar -xz
$ cd node-v0.10.29

As the README.md file suggests:

$ ./configure
$ sudo make install

which unfortunately produces:

...
In file included from ../deps/v8/src/ast.h:33:0,
                 from ../deps/v8/src/parser.cc:31:
../deps/v8/src/assembler.h:515:39: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
make[1]: *** [/var/www/grunt/node-v0.10.29/out/Release/obj.target/v8_base/deps/v8/src/parser.o] Error 1
make[1]: Leaving directory `/var/www/grunt/node-v0.10.29/out'
make: *** [node] Error 2
$ 
jeff1evesque commented 10 years ago

Since node.js v0.10.29 was not successful, we will try an older version >= 0.8.0.

Grunt and Grunt plugins are installed and managed via npm, the Node.js package manager. Grunt 0.4.x requires stable Node.js versions >= 0.8.0

$ cd /var/www/grunt/
$ sudo rm -R node-v0.10.29
$ sudo wget http://nodejs.org/dist/v0.9.0/node-v0.9.0.tar.gz -O - | tar -xz
$ ./configure
$ sudo make install
...
make[1]: Leaving directory `/var/www/grunt/node-v0.9.0/out'
ln -fs out/Release/node node
out/Release/node tools/installer.js install 
mkdir -p /usr/local/include/node/
cp -rf src/node.h /usr/local/include/node/
cp -rf src/node_buffer.h /usr/local/include/node/
cp -rf src/node_object_wrap.h /usr/local/include/node/
cp -rf src/node_version.h /usr/local/include/node/
cp -rf src/ev-emul.h /usr/local/include/node/
cp -rf src/eio-emul.h /usr/local/include/node/
cp -rf deps/v8/include/v8-debug.h /usr/local/include/node/
cp -rf deps/v8/include/v8-preparser.h /usr/local/include/node/
cp -rf deps/v8/include/v8-profiler.h /usr/local/include/node/
cp -rf deps/v8/include/v8-testing.h /usr/local/include/node/
cp -rf deps/v8/include/v8.h /usr/local/include/node/
cp -rf deps/v8/include/v8stdint.h /usr/local/include/node/
cp -rf deps/uv/include/uv.h /usr/local/include/node/
mkdir -p /usr/local/share/man/man1/
cp -rf doc/node.1 /usr/local/share/man/man1/
mkdir -p /usr/local/include/node/uv-private/
cp -rf deps/uv/include/uv-private/eio.h /usr/local/include/node/uv-private/
cp -rf deps/uv/include/uv-private/ev.h /usr/local/include/node/uv-private/
cp -rf deps/uv/include/uv-private/ngx-queue.h /usr/local/include/node/uv-private/
cp -rf deps/uv/include/uv-private/tree.h /usr/local/include/node/uv-private/
cp -rf deps/uv/include/uv-private/uv-unix.h /usr/local/include/node/uv-private/
cp -rf deps/uv/include/uv-private/uv-win.h /usr/local/include/node/uv-private/
cp -rf deps/uv/include/ares.h /usr/local/include/node/
cp -rf deps/uv/include/ares_version.h /usr/local/include/node/
mkdir -p /usr/local/bin/
cp -rf out/Release/node /usr/local/bin/node
mkdir -p /usr/local/lib/node/
cp -rf tools/wafadmin /usr/local/lib/node/
cp -rf tools/node-waf /usr/local/bin/node-waf
rm -rf /usr/local/lib/node_modules/npm
mkdir -p /usr/local/lib/node_modules/
cp -rf deps/npm /usr/local/lib/node_modules/npm
ln -sf ../lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm
bash "/usr/local/lib/node_modules/npm/scripts/relocate.sh" /usr/local/bin/node
jeff1evesque commented 10 years ago

Now, if we check the node.js installation:

$ whereis node
node: /usr/local/bin/node  /usr/local/lib/node

So, we proceed by removing the downloaded node.js:

$ cd /var/www/grunt
$ sudo rm -R node-v0.9.0

Note: There is a good chance that we could successfully install a newer release of node.js. However, v0.9.0 suffices for now.

jeff1evesque commented 10 years ago

We attempt to install grunt:

$ cd /var/www/grunt/node_modules/grunt
$ npm install --production
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/dateformat/1.0.2-1.2.3
npm http GET https://registry.npmjs.org/eventemitter2
npm http GET https://registry.npmjs.org/findup-sync
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/hooker
npm http GET https://registry.npmjs.org/iconv-lite
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/underscore.string
npm http GET https://registry.npmjs.org/which
npm http GET https://registry.npmjs.org/js-yaml
npm http GET https://registry.npmjs.org/exit
npm http GET https://registry.npmjs.org/getobject
npm http GET https://registry.npmjs.org/grunt-legacy-util
npm http GET https://registry.npmjs.org/grunt-legacy-log
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/eventemitter2
npm http GET https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/dateformat/1.0.2-1.2.3
npm http GET https://registry.npmjs.org/findup-sync
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/iconv-lite
npm http GET https://registry.npmjs.org/hooker
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/which
npm http GET https://registry.npmjs.org/js-yaml
npm http GET https://registry.npmjs.org/underscore.string
npm http GET https://registry.npmjs.org/exit
npm http GET https://registry.npmjs.org/getobject
npm http GET https://registry.npmjs.org/grunt-legacy-util
npm http GET https://registry.npmjs.org/grunt-legacy-log
npm http GET https://registry.npmjs.org/async
npm ERR! Error: SSL Error: SELF_SIGNED_CERT_IN_CHAIN
npm ERR!     at ClientRequest.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/main.js:440:26)
npm ERR!     at ClientRequest.g (events.js:185:14)
npm ERR!     at ClientRequest.EventEmitter.emit (events.js:88:17)
npm ERR!     at HTTPParser.parserOnIncomingClient [as onIncoming] (http.js:1445:7)
npm ERR!     at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:111:23)
npm ERR!     at CleartextStream.socketOnData [as ondata] (http.js:1356:20)
npm ERR!     at CleartextStream.CryptoStream._push (tls.js:515:27)
npm ERR!     at SecurePair.cycle (tls.js:869:20)
npm ERR!     at EncryptedStream.CryptoStream.write (tls.js:256:13)
npm ERR!     at Socket.ondata (stream.js:38:26)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Linux 2.6.38-8-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--production"
npm ERR! cwd /var/www/grunt/node_modules/grunt
npm ERR! node -v v0.9.0
npm ERR! npm -v 1.1.44
npm http GET https://registry.npmjs.org/findup-sync
npm http GET https://registry.npmjs.org/eventemitter2
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/dateformat/1.0.2-1.2.3
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/lodash
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/js-yaml
npm http GET https://registry.npmjs.org/underscore.string
npm http GET https://registry.npmjs.org/exit
npm http GET https://registry.npmjs.org/getobject
npm http GET https://registry.npmjs.org/grunt-legacy-util
npm http GET https://registry.npmjs.org/grunt-legacy-log
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /var/www/grunt/node_modules/grunt/npm-debug.log
npm ERR! not ok code 0

The errors above suggests that we need to upgrade npm. After we find a suitable version to upgrade our npm to, we will repeat the install command, again.

jeff1evesque commented 10 years ago

We attempt to download a more recent stable release of node.js (v0.10.0):

$ cd /var/www/grunt
$ sudo rm -R /usr/local/include/node  /usr/local/lib/node /usr/local/bin/node
$ sudo wget http://nodejs.org/dist/v0.10.0/node-v0.10.0.tar.gz -O - | tar -xz
$ cd node-v0.10.0
$ ./configure
$ sudo make install
$ cd ..
$ sudo rm -R node-v0.10.0

IRC #node.js (07/05/14 ~ 4:40pm EST):

jeffreylevesque: ljharb, I am currently running npm v1.1.44, is that too old?
ljharb:          yes.
ljharb:          Upgrade to node 0.10.29 and use the npm that comes with it, and you'll be fine
jeffreylevesque: So, npm packages comes with downloading node.js?
ljharb:          jeffreylevesque, npm itself does, yes. npm packages come from npmjs.org
jeffreylevesque: ljhard, Grunt requires node.js >= 0.8.0. But, I'm running 0.9.0
morfin:          last version is not always best for prod?
ljharb:          morfin, odd versions are unstable. they should NEVER be used in prod.
ljharb:          0.8 and 0.10 are stable, 0.9 and 0.11 are unstable.
ljharb:          jeffreylevesque, run 0.8 or 0.10. don't run 0.9.
jeff1evesque commented 10 years ago

We re-attempt to install grunt:

$ cd /var/www/grunt/node_modules/grunt
$ npm install --production
npm http GET https://registry.npmjs.org/findup-sync
npm http GET https://registry.npmjs.org/grunt-legacy-log
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/dateformat/1.0.2-1.2.3
npm http GET https://registry.npmjs.org/eventemitter2
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/hooker
npm http GET https://registry.npmjs.org/underscore.string
npm http GET https://registry.npmjs.org/iconv-lite
npm http GET https://registry.npmjs.org/which
npm http GET https://registry.npmjs.org/js-yaml
npm http GET https://registry.npmjs.org/exit
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/getobject
npm http GET https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/grunt-legacy-util
npm http 200 https://registry.npmjs.org/findup-sync
npm http 200 https://registry.npmjs.org/coffee-script
npm http 200 https://registry.npmjs.org/async
npm http 200 https://registry.npmjs.org/colors
npm http 200 https://registry.npmjs.org/grunt-legacy-log
npm http 200 https://registry.npmjs.org/dateformat/1.0.2-1.2.3
npm http 200 https://registry.npmjs.org/rimraf
npm http 200 https://registry.npmjs.org/glob
npm http 200 https://registry.npmjs.org/lodash
npm http 200 https://registry.npmjs.org/eventemitter2
npm http 200 https://registry.npmjs.org/underscore.string
npm http 200 https://registry.npmjs.org/iconv-lite
npm http 200 https://registry.npmjs.org/which
npm http 200 https://registry.npmjs.org/hooker
npm http 200 https://registry.npmjs.org/exit
npm http 200 https://registry.npmjs.org/minimatch
npm http 200 https://registry.npmjs.org/getobject
npm http 200 https://registry.npmjs.org/js-yaml
npm http 200 https://registry.npmjs.org/grunt-legacy-util
npm http 200 https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.14.tgz
npm http GET https://registry.npmjs.org/underscore.string/-/underscore.string-2.2.1.tgz
npm http GET https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.2.11.tgz
npm http GET https://registry.npmjs.org/rimraf/-/rimraf-2.2.8.tgz
npm http GET https://registry.npmjs.org/hooker/-/hooker-0.2.3.tgz
npm http GET https://registry.npmjs.org/exit/-/exit-0.1.2.tgz
npm http GET https://registry.npmjs.org/which/-/which-1.0.5.tgz
npm http GET https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz
npm http GET https://registry.npmjs.org/getobject/-/getobject-0.1.0.tgz
npm http GET https://registry.npmjs.org/lodash/-/lodash-0.9.2.tgz
npm http GET https://registry.npmjs.org/glob/-/glob-3.1.21.tgz
npm http GET https://registry.npmjs.org/grunt-legacy-util/-/grunt-legacy-util-0.2.0.tgz
npm http GET https://registry.npmjs.org/js-yaml/-/js-yaml-2.0.5.tgz
npm http GET https://registry.npmjs.org/async/-/async-0.1.22.tgz
npm http GET https://registry.npmjs.org/dateformat/-/dateformat-1.0.2-1.2.3.tgz
npm http GET https://registry.npmjs.org/colors/-/colors-0.6.2.tgz
npm http GET https://registry.npmjs.org/grunt-legacy-log/-/grunt-legacy-log-0.1.1.tgz
npm http GET https://registry.npmjs.org/coffee-script/-/coffee-script-1.3.3.tgz
npm http GET https://registry.npmjs.org/findup-sync/-/findup-sync-0.1.3.tgz
npm http 200 https://registry.npmjs.org/underscore.string/-/underscore.string-2.2.1.tgz
npm http GET https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz
npm http 200 https://registry.npmjs.org/hooker/-/hooker-0.2.3.tgz
npm http 200 https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.14.tgz
npm http 200 https://registry.npmjs.org/exit/-/exit-0.1.2.tgz
npm http 200 https://registry.npmjs.org/which/-/which-1.0.5.tgz
npm http 200 https://registry.npmjs.org/rimraf/-/rimraf-2.2.8.tgz
npm http 200 https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.2.11.tgz
npm http 200 https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz
npm http 200 https://registry.npmjs.org/lodash/-/lodash-0.9.2.tgz
npm http 200 https://registry.npmjs.org/glob/-/glob-3.1.21.tgz
npm http 200 https://registry.npmjs.org/getobject/-/getobject-0.1.0.tgz
npm http 200 https://registry.npmjs.org/grunt-legacy-util/-/grunt-legacy-util-0.2.0.tgz
npm http 200 https://registry.npmjs.org/js-yaml/-/js-yaml-2.0.5.tgz
npm http 200 https://registry.npmjs.org/dateformat/-/dateformat-1.0.2-1.2.3.tgz
npm http 200 https://registry.npmjs.org/async/-/async-0.1.22.tgz
npm http 200 https://registry.npmjs.org/colors/-/colors-0.6.2.tgz
npm http 200 https://registry.npmjs.org/grunt-legacy-log/-/grunt-legacy-log-0.1.1.tgz
npm http 200 https://registry.npmjs.org/coffee-script/-/coffee-script-1.3.3.tgz
npm http 200 https://registry.npmjs.org/findup-sync/-/findup-sync-0.1.3.tgz
npm http 200 https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz
npm http GET https://registry.npmjs.org/abbrev
npm http 200 https://registry.npmjs.org/abbrev
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/glob
npm http 304 https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/abbrev/-/abbrev-1.0.5.tgz
npm http GET https://registry.npmjs.org/glob/-/glob-3.2.11.tgz
npm http GET https://registry.npmjs.org/lodash/-/lodash-2.4.1.tgz
npm http 200 https://registry.npmjs.org/abbrev/-/abbrev-1.0.5.tgz
npm http GET https://registry.npmjs.org/underscore.string
npm http 200 https://registry.npmjs.org/glob/-/glob-3.2.11.tgz
npm http 200 https://registry.npmjs.org/lodash/-/lodash-2.4.1.tgz
npm http 304 https://registry.npmjs.org/underscore.string
npm http GET https://registry.npmjs.org/underscore.string/-/underscore.string-2.3.3.tgz
npm http 200 https://registry.npmjs.org/underscore.string/-/underscore.string-2.3.3.tgz
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http 200 https://registry.npmjs.org/lru-cache
npm http 200 https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/lru-cache/-/lru-cache-2.5.0.tgz
npm http GET https://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz
npm http 200 https://registry.npmjs.org/lru-cache/-/lru-cache-2.5.0.tgz
npm http 200 https://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz
npm http GET https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/inherits
npm http 200 https://registry.npmjs.org/graceful-fs
npm http 200 https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.3.tgz
npm http GET https://registry.npmjs.org/inherits/-/inherits-1.0.0.tgz
npm http 200 https://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.3.tgz
npm http 200 https://registry.npmjs.org/inherits/-/inherits-1.0.0.tgz
npm http GET https://registry.npmjs.org/argparse
npm http GET https://registry.npmjs.org/esprima
npm http 200 https://registry.npmjs.org/argparse
npm http GET https://registry.npmjs.org/argparse/-/argparse-0.1.15.tgz
npm http 200 https://registry.npmjs.org/esprima
npm http 200 https://registry.npmjs.org/argparse/-/argparse-0.1.15.tgz
npm http GET https://registry.npmjs.org/esprima/-/esprima-1.0.4.tgz
npm http 200 https://registry.npmjs.org/esprima/-/esprima-1.0.4.tgz
npm http GET https://registry.npmjs.org/underscore
npm http 200 https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz
npm http 200 https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz
npm http GET https://registry.npmjs.org/minimatch/-/minimatch-0.3.0.tgz
npm http 200 https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz
npm http 200 https://registry.npmjs.org/minimatch/-/minimatch-0.3.0.tgz
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/sigmund
which@1.0.5 node_modules/which

dateformat@1.0.2-1.2.3 node_modules/dateformat

eventemitter2@0.4.14 node_modules/eventemitter2

getobject@0.1.0 node_modules/getobject

rimraf@2.2.8 node_modules/rimraf

colors@0.6.2 node_modules/colors

hooker@0.2.3 node_modules/hooker

async@0.1.22 node_modules/async

grunt-legacy-util@0.2.0 node_modules/grunt-legacy-util

exit@0.1.2 node_modules/exit

nopt@1.0.10 node_modules/nopt
└── abbrev@1.0.5

lodash@0.9.2 node_modules/lodash

coffee-script@1.3.3 node_modules/coffee-script

minimatch@0.2.14 node_modules/minimatch
├── sigmund@1.0.0
└── lru-cache@2.5.0

glob@3.1.21 node_modules/glob
├── inherits@1.0.0
└── graceful-fs@1.2.3

underscore.string@2.2.1 node_modules/underscore.string

iconv-lite@0.2.11 node_modules/iconv-lite

js-yaml@2.0.5 node_modules/js-yaml
├── esprima@1.0.4
└── argparse@0.1.15 (underscore@1.4.4, underscore.string@2.3.3)

findup-sync@0.1.3 node_modules/findup-sync
├── glob@3.2.11 (inherits@2.0.1, minimatch@0.3.0)
└── lodash@2.4.1

grunt-legacy-log@0.1.1 node_modules/grunt-legacy-log
├── underscore.string@2.3.3
└── lodash@2.4.1
jeff1evesque commented 10 years ago

We install grunt-cli:

$ cd /var/www/grunt/node_modules/grunt-cli
$ npm install --production
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 304 https://registry.npmjs.org/nopt
npm http 200 https://registry.npmjs.org/resolve
npm http 304 https://registry.npmjs.org/findup-sync
npm http GET https://registry.npmjs.org/resolve/-/resolve-0.3.1.tgz
npm http 200 https://registry.npmjs.org/resolve/-/resolve-0.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/lodash
npm http 304 https://registry.npmjs.org/glob
npm http 304 https://registry.npmjs.org/abbrev
npm http 304 https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/sigmund
nopt@1.0.10 node_modules/nopt
└── abbrev@1.0.5

resolve@0.3.1 node_modules/resolve

findup-sync@0.1.3 node_modules/findup-sync
├── glob@3.2.11 (inherits@2.0.1, minimatch@0.3.0)
└── lodash@2.4.1
jeff1evesque commented 10 years ago

We install grunt-contrib-sass:

$ cd /var/www/grunt/node_modules/grunt-contrib-sass
$ npm install --production
npm http GET https://registry.npmjs.org/dargs
npm http GET https://registry.npmjs.org/chalk
npm http GET https://registry.npmjs.org/win-spawn
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/which
npm http 200 https://registry.npmjs.org/dargs
npm http 200 https://registry.npmjs.org/chalk
npm http 200 https://registry.npmjs.org/win-spawn
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/which
npm http GET https://registry.npmjs.org/async/-/async-0.2.10.tgz
npm http GET https://registry.npmjs.org/chalk/-/chalk-0.4.0.tgz
npm http GET https://registry.npmjs.org/win-spawn/-/win-spawn-2.0.0.tgz
npm http GET https://registry.npmjs.org/dargs/-/dargs-0.1.0.tgz
npm http 200 https://registry.npmjs.org/win-spawn/-/win-spawn-2.0.0.tgz
npm http 200 https://registry.npmjs.org/async/-/async-0.2.10.tgz
npm http 200 https://registry.npmjs.org/chalk/-/chalk-0.4.0.tgz
npm http 200 https://registry.npmjs.org/dargs/-/dargs-0.1.0.tgz
npm http GET https://registry.npmjs.org/has-color
npm http GET https://registry.npmjs.org/ansi-styles
npm http GET https://registry.npmjs.org/strip-ansi
npm http 200 https://registry.npmjs.org/ansi-styles
npm http 200 https://registry.npmjs.org/strip-ansi
npm http GET https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.0.0.tgz
npm http GET https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.1.1.tgz
npm http 200 https://registry.npmjs.org/has-color
npm http GET https://registry.npmjs.org/has-color/-/has-color-0.1.7.tgz
npm http 200 https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.1.1.tgz
npm http 200 https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.0.0.tgz
npm http 200 https://registry.npmjs.org/has-color/-/has-color-0.1.7.tgz
dargs@0.1.0 node_modules/dargs

win-spawn@2.0.0 node_modules/win-spawn

which@1.0.5 node_modules/which

async@0.2.10 node_modules/async

chalk@0.4.0 node_modules/chalk
├── has-color@0.1.7
├── ansi-styles@1.0.0
└── strip-ansi@0.1.1
jeff1evesque commented 10 years ago

We install grunt-contrib-uglify:

$ cd /var/www/grunt/node_modules/grunt-contrib-uglify
$ npm install --production
npm http GET https://registry.npmjs.org/uglify-js
npm http GET https://registry.npmjs.org/maxmin
npm http GET https://registry.npmjs.org/chalk
npm http GET https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/chalk
npm http 200 https://registry.npmjs.org/maxmin
npm http 200 https://registry.npmjs.org/uglify-js
npm http 304 https://registry.npmjs.org/lodash
npm ERR! Error: No compatible version found: chalk@'^0.4.0'
npm ERR! Valid install targets:
npm ERR! ["0.1.0","0.1.1","0.2.0","0.2.1","0.3.0","0.4.0","0.5.0"]
npm ERR!     at installTargetsError (/usr/local/lib/node_modules/npm/lib/cache.js:682:10)
npm ERR!     at /usr/local/lib/node_modules/npm/lib/cache.js:597:10
npm ERR!     at saved (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7)
npm ERR!     at Object.oncomplete (fs.js:93:15)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Linux 2.6.38-8-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--production"
npm ERR! cwd /var/www/grunt/node_modules/grunt-contrib-uglify
npm ERR! node -v v0.10.0
npm ERR! npm -v 1.2.14
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /var/www/grunt/node_modules/grunt-contrib-uglify/npm-debug.log
npm ERR! not ok code 0
jeff1evesque commented 10 years ago

We attempt to download a more recent stable release of node.js (v0.10.23):

$ cd /var/www/grunt
$ sudo rm -R /usr/local/include/node  /usr/local/lib/node /usr/local/bin/node
$ sudo wget http://nodejs.org/dist/v0.10.23/node-v0.10.23.tar.gz -O - | tar -xz
$ cd node-v0.10.23
$ ./configure
$ sudo make install
$ cd ..
$ sudo rm -R node-v0.10.23
jeff1evesque commented 10 years ago

We re-install grunt-contrib-uglify:

$ cd /var/www/grunt/node_modules/grunt-contrib-uglify
$ npm install --production
npm http GET https://registry.npmjs.org/uglify-js
npm http GET https://registry.npmjs.org/chalk
npm http GET https://registry.npmjs.org/maxmin
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/chalk
npm http GET https://registry.npmjs.org/uglify-js
npm http GET https://registry.npmjs.org/maxmin
npm http GET https://registry.npmjs.org/lodash
^Cjeffrey@jeffrey-VirtualBox:/var/www/grunt/node_modules/grunt-contrib-uglify$ npm install --production
npm http GET https://registry.npmjs.org/uglify-js
npm http GET https://registry.npmjs.org/chalk
npm http GET https://registry.npmjs.org/maxmin
npm http GET https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/uglify-js
npm http 304 https://registry.npmjs.org/chalk
npm http 304 https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/maxmin
npm http GET https://registry.npmjs.org/uglify-js/-/uglify-js-2.4.14.tgz
npm http GET https://registry.npmjs.org/maxmin/-/maxmin-0.1.0.tgz
npm http 200 https://registry.npmjs.org/uglify-js/-/uglify-js-2.4.14.tgz
npm http 200 https://registry.npmjs.org/maxmin/-/maxmin-0.1.0.tgz
npm http GET https://registry.npmjs.org/pretty-bytes
npm http GET https://registry.npmjs.org/gzip-size
npm http GET https://registry.npmjs.org/has-color
npm http GET https://registry.npmjs.org/strip-ansi
npm http GET https://registry.npmjs.org/ansi-styles
npm http 200 https://registry.npmjs.org/gzip-size
npm http 200 https://registry.npmjs.org/pretty-bytes
npm http 304 https://registry.npmjs.org/strip-ansi
npm http 304 https://registry.npmjs.org/has-color
npm http 304 https://registry.npmjs.org/ansi-styles
npm http GET https://registry.npmjs.org/gzip-size/-/gzip-size-0.1.1.tgz
npm http GET https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-0.1.1.tgz
npm http 200 https://registry.npmjs.org/gzip-size/-/gzip-size-0.1.1.tgz
npm http 200 https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-0.1.1.tgz
npm http GET https://registry.npmjs.org/concat-stream
npm http GET https://registry.npmjs.org/zlib-browserify
npm http 200 https://registry.npmjs.org/concat-stream
npm http 200 https://registry.npmjs.org/zlib-browserify
npm http GET https://registry.npmjs.org/concat-stream/-/concat-stream-1.4.6.tgz
npm http GET https://registry.npmjs.org/zlib-browserify/-/zlib-browserify-0.0.3.tgz
npm http 200 https://registry.npmjs.org/concat-stream/-/concat-stream-1.4.6.tgz
npm http 200 https://registry.npmjs.org/zlib-browserify/-/zlib-browserify-0.0.3.tgz
npm http GET https://registry.npmjs.org/tape
npm http GET https://registry.npmjs.org/typedarray
npm http GET https://registry.npmjs.org/readable-stream
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/source-map
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/uglify-to-browserify
npm http GET https://registry.npmjs.org/async
npm http 200 https://registry.npmjs.org/typedarray
npm http 304 https://registry.npmjs.org/inherits
npm http 200 https://registry.npmjs.org/tape
npm http 200 https://registry.npmjs.org/uglify-to-browserify
npm http 200 https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/async
npm http 200 https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz
npm http 200 https://registry.npmjs.org/source-map
npm http GET https://registry.npmjs.org/tape/-/tape-0.2.2.tgz
npm http GET https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz
npm http GET https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.13-1.tgz
npm http 200 https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz
npm http GET https://registry.npmjs.org/optimist/-/optimist-0.3.7.tgz
npm http 200 https://registry.npmjs.org/tape/-/tape-0.2.2.tgz
npm http 200 https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz
npm http GET https://registry.npmjs.org/source-map/-/source-map-0.1.34.tgz
npm http 200 https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.13-1.tgz
npm http 200 https://registry.npmjs.org/optimist/-/optimist-0.3.7.tgz
npm http 200 https://registry.npmjs.org/source-map/-/source-map-0.1.34.tgz
npm http GET https://registry.npmjs.org/isarray/0.0.1
npm http GET https://registry.npmjs.org/string_decoder
npm http GET https://registry.npmjs.org/core-util-is
npm http 200 https://registry.npmjs.org/isarray/0.0.1
npm http 200 https://registry.npmjs.org/string_decoder
npm http GET https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.25-1.tgz
npm http GET https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz
npm http 200 https://registry.npmjs.org/core-util-is
npm http GET https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz
npm http 200 https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz
npm http 200 https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.25-1.tgz
npm http 200 https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz
npm http GET https://registry.npmjs.org/jsonify
npm http GET https://registry.npmjs.org/deep-equal
npm http GET https://registry.npmjs.org/defined
npm http 200 https://registry.npmjs.org/jsonify
npm http 200 https://registry.npmjs.org/defined
npm http 200 https://registry.npmjs.org/deep-equal
npm http GET https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz
npm http GET https://registry.npmjs.org/defined/-/defined-0.0.0.tgz
npm http GET https://registry.npmjs.org/deep-equal/-/deep-equal-0.0.0.tgz
npm http 200 https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz
npm http 200 https://registry.npmjs.org/defined/-/defined-0.0.0.tgz
npm http 200 https://registry.npmjs.org/deep-equal/-/deep-equal-0.0.0.tgz
npm http GET https://registry.npmjs.org/wordwrap
npm http 200 https://registry.npmjs.org/wordwrap
npm http GET https://registry.npmjs.org/amdefine
npm http GET https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz
npm http 200 https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz
npm http 200 https://registry.npmjs.org/amdefine
npm http GET https://registry.npmjs.org/amdefine/-/amdefine-0.1.0.tgz
npm http 200 https://registry.npmjs.org/amdefine/-/amdefine-0.1.0.tgz
chalk@0.4.0 node_modules/chalk
├── has-color@0.1.7
├── ansi-styles@1.0.0
└── strip-ansi@0.1.1

lodash@2.4.1 node_modules/lodash

maxmin@0.1.0 node_modules/maxmin
├── pretty-bytes@0.1.1
└── gzip-size@0.1.1 (concat-stream@1.4.6, zlib-browserify@0.0.3)

uglify-js@2.4.14 node_modules/uglify-js
├── uglify-to-browserify@1.0.2
├── async@0.2.10
├── source-map@0.1.34 (amdefine@0.1.0)
└── optimist@0.3.7 (wordwrap@0.0.2)
jeff1evesque commented 10 years ago

We install grunt-modernizr:

$ npm install --production
npm http GET https://registry.npmjs.org/uglify-js/1.3.3
npm http GET https://registry.npmjs.org/promised-io
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/colors
npm http 304 https://registry.npmjs.org/colors
npm http 200 https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/request/-/request-2.27.0.tgz
npm http 200 https://registry.npmjs.org/promised-io
npm http GET https://registry.npmjs.org/promised-io/-/promised-io-0.3.4.tgz
npm http 200 https://registry.npmjs.org/request/-/request-2.27.0.tgz
npm http 200 https://registry.npmjs.org/promised-io/-/promised-io-0.3.4.tgz
npm http 200 https://registry.npmjs.org/uglify-js/1.3.3
npm http GET https://registry.npmjs.org/uglify-js/-/uglify-js-1.3.3.tgz
npm http 200 https://registry.npmjs.org/uglify-js/-/uglify-js-1.3.3.tgz
npm http GET https://registry.npmjs.org/tunnel-agent
npm http GET https://registry.npmjs.org/hawk
npm http GET https://registry.npmjs.org/http-signature
npm http GET https://registry.npmjs.org/aws-sign
npm http GET https://registry.npmjs.org/oauth-sign
npm http GET https://registry.npmjs.org/cookie-jar
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/form-data
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/forever-agent
npm http 200 https://registry.npmjs.org/aws-sign
npm http 200 https://registry.npmjs.org/tunnel-agent
npm http GET https://registry.npmjs.org/aws-sign/-/aws-sign-0.3.0.tgz
npm http GET https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.3.0.tgz
npm http 200 https://registry.npmjs.org/oauth-sign
npm http GET https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.3.0.tgz
npm http 200 https://registry.npmjs.org/cookie-jar
npm http GET https://registry.npmjs.org/cookie-jar/-/cookie-jar-0.3.0.tgz
npm http 200 https://registry.npmjs.org/http-signature
npm http 200 https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/http-signature/-/http-signature-0.10.0.tgz
npm http GET https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.1.tgz
npm http 200 https://registry.npmjs.org/json-stringify-safe
npm http GET https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.0.tgz
npm http 200 https://registry.npmjs.org/qs
npm http 200 https://registry.npmjs.org/mime
npm http 200 https://registry.npmjs.org/forever-agent
npm http 200 https://registry.npmjs.org/hawk
npm http 200 https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.3.0.tgz
npm http GET https://registry.npmjs.org/qs/-/qs-0.6.6.tgz
npm http 200 https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.1.tgz
npm http GET https://registry.npmjs.org/mime/-/mime-1.2.11.tgz
npm http GET https://registry.npmjs.org/forever-agent/-/forever-agent-0.5.2.tgz
npm http GET https://registry.npmjs.org/hawk/-/hawk-1.0.0.tgz
npm http 200 https://registry.npmjs.org/aws-sign/-/aws-sign-0.3.0.tgz
npm http 200 https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.3.0.tgz
npm http 200 https://registry.npmjs.org/cookie-jar/-/cookie-jar-0.3.0.tgz
npm http 200 https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.0.tgz
npm http 200 https://registry.npmjs.org/qs/-/qs-0.6.6.tgz
npm http 200 https://registry.npmjs.org/mime/-/mime-1.2.11.tgz
npm http 200 https://registry.npmjs.org/http-signature/-/http-signature-0.10.0.tgz
npm http 200 https://registry.npmjs.org/forever-agent/-/forever-agent-0.5.2.tgz
npm http 200 https://registry.npmjs.org/hawk/-/hawk-1.0.0.tgz
npm http 200 https://registry.npmjs.org/form-data
npm http GET https://registry.npmjs.org/form-data/-/form-data-0.1.4.tgz
npm http 200 https://registry.npmjs.org/form-data/-/form-data-0.1.4.tgz
npm http GET https://registry.npmjs.org/combined-stream
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/ctype/0.5.2
npm http GET https://registry.npmjs.org/assert-plus/0.1.2
npm http GET https://registry.npmjs.org/asn1/0.1.11
npm http 200 https://registry.npmjs.org/combined-stream
npm http 304 https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/async/-/async-0.9.0.tgz
npm http GET https://registry.npmjs.org/combined-stream/-/combined-stream-0.0.5.tgz
npm http 200 https://registry.npmjs.org/asn1/0.1.11
npm http GET https://registry.npmjs.org/asn1/-/asn1-0.1.11.tgz
npm http 200 https://registry.npmjs.org/assert-plus/0.1.2
npm http GET https://registry.npmjs.org/assert-plus/-/assert-plus-0.1.2.tgz
npm http 200 https://registry.npmjs.org/async/-/async-0.9.0.tgz
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 200 https://registry.npmjs.org/ctype/0.5.2
npm http GET https://registry.npmjs.org/sntp
npm http 200 https://registry.npmjs.org/combined-stream/-/combined-stream-0.0.5.tgz
npm http GET https://registry.npmjs.org/ctype/-/ctype-0.5.2.tgz
npm http 200 https://registry.npmjs.org/asn1/-/asn1-0.1.11.tgz
npm http GET https://registry.npmjs.org/delayed-stream/0.0.5
npm http 200 https://registry.npmjs.org/assert-plus/-/assert-plus-0.1.2.tgz
npm http 200 https://registry.npmjs.org/ctype/-/ctype-0.5.2.tgz
npm http 200 https://registry.npmjs.org/sntp
npm http 200 https://registry.npmjs.org/boom
npm http GET https://registry.npmjs.org/sntp/-/sntp-0.2.4.tgz
npm http GET https://registry.npmjs.org/boom/-/boom-0.4.2.tgz
npm http 200 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 200 https://registry.npmjs.org/sntp/-/sntp-0.2.4.tgz
npm http 200 https://registry.npmjs.org/boom/-/boom-0.4.2.tgz
npm http 200 https://registry.npmjs.org/hoek
npm http 200 https://registry.npmjs.org/delayed-stream/-/delayed-stream-0.0.5.tgz
npm http GET https://registry.npmjs.org/hoek/-/hoek-0.9.1.tgz
npm http 200 https://registry.npmjs.org/hoek/-/hoek-0.9.1.tgz
npm http 200 https://registry.npmjs.org/cryptiles
npm http GET https://registry.npmjs.org/cryptiles/-/cryptiles-0.2.2.tgz
npm http 200 https://registry.npmjs.org/cryptiles/-/cryptiles-0.2.2.tgz
colors@0.6.2 node_modules/colors

promised-io@0.3.4 node_modules/promised-io

uglify-js@1.3.3 node_modules/uglify-js

request@2.27.0 node_modules/request
├── json-stringify-safe@5.0.0
├── aws-sign@0.3.0
├── forever-agent@0.5.2
├── qs@0.6.6
├── tunnel-agent@0.3.0
├── oauth-sign@0.3.0
├── cookie-jar@0.3.0
├── node-uuid@1.4.1
├── mime@1.2.11
├── form-data@0.1.4 (async@0.9.0, combined-stream@0.0.5)
├── http-signature@0.10.0 (assert-plus@0.1.2, asn1@0.1.11, ctype@0.5.2)
└── hawk@1.0.0 (cryptiles@0.2.2, sntp@0.2.4, boom@0.4.2, hoek@0.9.1)
jeff1evesque commented 10 years ago

We install grunt-contrib-watch:

$ cd /var/grunt/node_modules/grunt-contrib-watch
$ npm install --production
npm http GET https://registry.npmjs.org/gaze
npm http GET https://registry.npmjs.org/tiny-lr-fork/0.0.5
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/async
npm http 200 https://registry.npmjs.org/tiny-lr-fork/0.0.5
npm http 304 https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/async
npm http 200 https://registry.npmjs.org/gaze
npm http GET https://registry.npmjs.org/tiny-lr-fork/-/tiny-lr-fork-0.0.5.tgz
npm http GET https://registry.npmjs.org/gaze/-/gaze-0.5.1.tgz
npm http 200 https://registry.npmjs.org/tiny-lr-fork/-/tiny-lr-fork-0.0.5.tgz
npm http 200 https://registry.npmjs.org/gaze/-/gaze-0.5.1.tgz
npm http GET https://registry.npmjs.org/globule
npm http 200 https://registry.npmjs.org/globule
npm http GET https://registry.npmjs.org/noptify
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/faye-websocket
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/globule/-/globule-0.1.0.tgz
npm http 200 https://registry.npmjs.org/noptify
npm http 200 https://registry.npmjs.org/debug
npm http 304 https://registry.npmjs.org/qs
npm http 200 https://registry.npmjs.org/faye-websocket
npm http GET https://registry.npmjs.org/noptify/-/noptify-0.0.3.tgz
npm http GET https://registry.npmjs.org/debug/-/debug-0.7.4.tgz
npm http 200 https://registry.npmjs.org/globule/-/globule-0.1.0.tgz
npm http GET https://registry.npmjs.org/qs/-/qs-0.5.6.tgz
npm http GET https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.4.4.tgz
npm http 200 https://registry.npmjs.org/debug/-/debug-0.7.4.tgz
npm http 200 https://registry.npmjs.org/noptify/-/noptify-0.0.3.tgz
npm http 200 https://registry.npmjs.org/qs/-/qs-0.5.6.tgz
npm http 200 https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.4.4.tgz
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/glob
npm http 304 https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/lodash/-/lodash-1.0.1.tgz
npm http 200 https://registry.npmjs.org/lodash/-/lodash-1.0.1.tgz
npm http GET https://registry.npmjs.org/nopt
npm http 304 https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/nopt/-/nopt-2.0.0.tgz
npm http 200 https://registry.npmjs.org/nopt/-/nopt-2.0.0.tgz
npm http GET https://registry.npmjs.org/abbrev
npm http 304 https://registry.npmjs.org/abbrev
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/graceful-fs
async@0.2.10 node_modules/async

lodash@2.4.1 node_modules/lodash

tiny-lr-fork@0.0.5 node_modules/tiny-lr-fork
├── debug@0.7.4
├── faye-websocket@0.4.4
├── qs@0.5.6
└── noptify@0.0.3 (nopt@2.0.0)

gaze@0.5.1 node_modules/gaze
└── globule@0.1.0 (minimatch@0.2.14, glob@3.1.21, lodash@1.0.1)
jeff1evesque commented 10 years ago

IRC #node.js (07/06/14 ~ 10:00am EST):

zbzzn:  lets say you just cloned your repository to /myApp
zbzzn:  and you are in /myApp
zbzzn:  you need to install grunt cli
zbzzn:  type npm install -g grunt-cli
zbzzn:  this is done once for all the projects

Now, we install grunt-cli:

$ sudo npm install -g grunt-cli
[sudo] password for jeffrey: 
npm http GET https://registry.npmjs.org/grunt-cli
npm http 200 https://registry.npmjs.org/grunt-cli
npm http GET https://registry.npmjs.org/grunt-cli/-/grunt-cli-0.1.13.tgz
npm http 200 https://registry.npmjs.org/grunt-cli/-/grunt-cli-0.1.13.tgz
npm http GET https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/findup-sync
npm http GET https://registry.npmjs.org/resolve
npm http 304 https://registry.npmjs.org/nopt
npm http 304 https://registry.npmjs.org/findup-sync
npm http 304 https://registry.npmjs.org/resolve
npm http GET https://registry.npmjs.org/abbrev
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/abbrev
npm http 304 https://registry.npmjs.org/glob
npm http 304 https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/sigmund
/usr/local/bin/grunt -> /usr/local/lib/node_modules/grunt-cli/bin/grunt
npm WARN unmet dependency /usr/local/lib/node_modules/npm/node_modules/couch-login requires request@'~2.9.202' but will load
npm WARN unmet dependency /usr/local/lib/node_modules/npm/node_modules/request,
npm WARN unmet dependency which is version 2.29.0
grunt-cli@0.1.13 /usr/local/lib/node_modules/grunt-cli
├── nopt@1.0.10 (abbrev@1.0.5)
├── resolve@0.3.1
└── findup-sync@0.1.3 (lodash@2.4.1, glob@3.2.11)