webcompat / webcompat.com

Source code for webcompat.com
https://webcompat.com
359 stars 191 forks source link

local development setup fails with 'grunt not found' error #632

Closed hallvors closed 9 years ago

hallvors commented 9 years ago

I tried to clone webcompat.com repo and do "make install" on a Ubuntu laptop. After a while it said:

intern@2.2.0 node_modules/intern
├── diff@1.1.0
├── charm@0.2.0
├── source-map@0.1.33 (amdefine@0.1.1)
├── chai@1.9.1 (assertion-error@1.0.0, deep-eql@0.1.3)
├── leadfoot@1.2.0 (dojo@2.0.0-alpha3)
├── digdug@1.2.0 (dojo@2.0.0-alpha3, decompress@0.2.3)
├── dojo@2.0.0-dev
└── istanbul@0.2.16 (which@1.0.9, abbrev@1.0.7, nopt@3.0.2, wordwrap@0.0.3, async@0.9.2, mkdirp@0.5.1, resolve@0.7.4, fileset@0.1.7, esprima@1.2.5, handlebars@1.3.0, escodegen@1.3.3, js-yaml@3.3.1)
make: grunt: Command not found
make: *** [install] Error 127
hallvors commented 9 years ago

Ah, I forgot sudo.. May I remove the brackets from the command in the docs? ;)

hallvors commented 9 years ago

(but repeating the command with sudo just fails differently)

hallvors commented 9 years ago

make: *\ [install] Error 1

magsout commented 9 years ago

@hallvors have you install Grunt and Grunt cli -g ?

hallvors commented 9 years ago

Yes. Supposedly. But the weirdest thing is that if I type "grunt" in a terminal, nothing happens..

magsout commented 9 years ago

which grunt ?

magsout commented 9 years ago

@hallvors you can test if cli is installed globally : which grunt

MacBook-Air:webcompat.com GuillaumeDEMESY$ which grunt
/usr/local/bin/grunt
hallvors commented 9 years ago

/usr/local/bin/grunt

magsout commented 9 years ago

@hallvors npm install and `grunt ?

hallvors commented 9 years ago

Something is very weird on this system - running grunt just quits silently every time. No error message, nothing. Hm.. this might solve it: http://stackoverflow.com/questions/19953216/grunt-doesnt-give-any-output-ubuntu

hallvors commented 9 years ago

Now it works better :) No CSS is applied because the /css/webcompat.dev.css file is 404 - but I assume a "make build" will fix this?

hallvors commented 9 years ago

All set!

magsout commented 9 years ago

👍

miketaylr commented 9 years ago

Thanks @magsout --glad you got it sorted @hallvors.