minostro / correcaminos

frontend en emberjs
0 stars 0 forks source link

Work for Ubuntu #4

Open caravena opened 10 years ago

caravena commented 10 years ago

Not work "grunt" in ubuntu trusty

minostro commented 10 years ago

Can you report this issue properly? What is the result of this command: where grunt

caravena commented 10 years ago

caravena@caravena-530U3C-530U4C:~/codigo/correcaminos-master$ LANGUAGE=C grunt No command 'grunt' found, did you mean: Command 'grun' from package 'grun' (universe) grunt: command not found

minostro commented 10 years ago

can you try doing this [1] please?

[1] http://stackoverflow.com/questions/10667381/node-package-grunt-installed-but-not-available

caravena commented 10 years ago

caravena@caravena-530U3C-530U4C:~/codigo/correcaminos-master$ sudo npm install -g grunt-cli [sudo] password for caravena: npm http GET https://registry.npmjs.org/grunt-cli npm http 304 https://registry.npmjs.org/grunt-cli npm http GET https://registry.npmjs.org/resolve npm http GET https://registry.npmjs.org/findup-sync npm http GET https://registry.npmjs.org/nopt npm http 304 https://registry.npmjs.org/findup-sync npm http 304 https://registry.npmjs.org/nopt npm http 304 https://registry.npmjs.org/resolve 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/glob npm http GET https://registry.npmjs.org/abbrev npm http GET https://registry.npmjs.org/lodash npm http 304 https://registry.npmjs.org/lodash npm http 304 https://registry.npmjs.org/abbrev npm http 304 https://registry.npmjs.org/glob 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 304 https://registry.npmjs.org/graceful-fs npm http 304 https://registry.npmjs.org/minimatch npm http 304 https://registry.npmjs.org/inherits npm http GET https://registry.npmjs.org/lru-cache npm http GET https://registry.npmjs.org/sigmund npm http 304 https://registry.npmjs.org/sigmund npm http 304 https://registry.npmjs.org/lru-cache /usr/local/bin/grunt -> /usr/local/lib/node_modules/grunt-cli/bin/grunt grunt-cli@0.1.11 /usr/local/lib/node_modules/grunt-cli ├── resolve@0.3.1 ├── nopt@1.0.10 (abbrev@1.0.4) └── findup-sync@0.1.2 (lodash@1.0.1, glob@3.1.21) caravena@caravena-530U3C-530U4C:~/codigo/correcaminos-master$ npm install grunt --save-dev npm http GET https://registry.npmjs.org/grunt npm http 304 https://registry.npmjs.org/grunt npm http GET https://registry.npmjs.org/findup-sync npm http GET https://registry.npmjs.org/glob 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/hooker npm http GET https://registry.npmjs.org/eventemitter2 npm http GET https://registry.npmjs.org/minimatch npm http GET https://registry.npmjs.org/nopt npm http GET https://registry.npmjs.org/lodash npm http GET https://registry.npmjs.org/iconv-lite npm http GET https://registry.npmjs.org/rimraf npm http GET https://registry.npmjs.org/which npm http GET https://registry.npmjs.org/js-yaml npm http GET https://registry.npmjs.org/getobject npm http GET https://registry.npmjs.org/underscore.string npm http GET https://registry.npmjs.org/exit npm http GET https://registry.npmjs.org/coffee-script npm http GET https://registry.npmjs.org/async npm http 304 https://registry.npmjs.org/findup-sync npm http 304 https://registry.npmjs.org/colors npm http 304 https://registry.npmjs.org/hooker npm http 304 https://registry.npmjs.org/eventemitter2 npm http 304 https://registry.npmjs.org/glob npm http 304 https://registry.npmjs.org/minimatch npm http 304 https://registry.npmjs.org/nopt npm http 304 https://registry.npmjs.org/lodash npm http 304 https://registry.npmjs.org/iconv-lite npm http 304 https://registry.npmjs.org/rimraf npm http 304 https://registry.npmjs.org/which npm http 304 https://registry.npmjs.org/js-yaml npm http 304 https://registry.npmjs.org/getobject npm http 304 https://registry.npmjs.org/underscore.string npm http 304 https://registry.npmjs.org/exit npm http 304 https://registry.npmjs.org/coffee-script npm http 304 https://registry.npmjs.org/async npm http 304 https://registry.npmjs.org/dateformat/1.0.2-1.2.3 npm http GET https://registry.npmjs.org/graceful-fs npm http GET https://registry.npmjs.org/abbrev npm http GET https://registry.npmjs.org/lru-cache npm http GET https://registry.npmjs.org/sigmund npm http GET https://registry.npmjs.org/graceful-fs npm http GET https://registry.npmjs.org/inherits npm http GET https://registry.npmjs.org/argparse npm http GET https://registry.npmjs.org/esprima npm http 304 https://registry.npmjs.org/abbrev npm http 304 https://registry.npmjs.org/sigmund npm http 304 https://registry.npmjs.org/inherits npm http 304 https://registry.npmjs.org/argparse npm http 304 https://registry.npmjs.org/graceful-fs npm http 304 https://registry.npmjs.org/esprima npm http 304 https://registry.npmjs.org/lru-cache npm http GET https://registry.npmjs.org/underscore npm http 304 https://registry.npmjs.org/graceful-fs npm http 304 https://registry.npmjs.org/underscore grunt@0.4.2 node_modules/grunt ├── which@1.0.5 ├── dateformat@1.0.2-1.2.3 ├── eventemitter2@0.4.13 ├── getobject@0.1.0 ├── colors@0.6.2 ├── hooker@0.2.3 ├── async@0.1.22 ├── exit@0.1.2 ├── lodash@0.9.2 ├── coffee-script@1.3.3 ├── underscore.string@2.2.1 ├── findup-sync@0.1.2 (lodash@1.0.1) ├── iconv-lite@0.2.11 ├── nopt@1.0.10 (abbrev@1.0.4) ├── rimraf@2.0.3 (graceful-fs@1.1.14) ├── minimatch@0.2.12 (sigmund@1.0.0, lru-cache@2.5.0) ├── glob@3.1.21 (inherits@1.0.0, graceful-fs@1.2.3) └── js-yaml@2.0.5 (esprima@1.0.4, argparse@0.1.15) caravena@caravena-530U3C-530U4C:~/codigo/correcaminos-master$ grunt /usr/bin/env: node: No existe el archivo o el directorio

caravena commented 10 years ago

I answer myself:

$sudo apt-get install nodejs-legacy

Of: https://github.com/joyent/node/issues/3911#issuecomment-18951288

caravena commented 10 years ago

Now?

$ grunt Running "emberTemplates:compile" (emberTemplates) task File "public/templates.js" created.

Running "neuter:application" (neuter) task

Running "concat:vendor" (concat) task File "public/vendor.js" created.

Running "index:development" (index) task

Running "connect:server" (connect) task Started connect web server on 127.0.0.1:9001.

Running "watch" task Waiting...

minostro commented 10 years ago

visit in your browser 127.0.0.1:9001

caravena commented 10 years ago

:D

On Sun, Dec 15, 2013 at 7:29 PM, Milton Inostroza Aguilera < notifications@github.com> wrote:

visit in your browser 127.0.0.1:9001

— Reply to this email directly or view it on GitHubhttps://github.com/minostro/correcaminos/issues/4#issuecomment-30623648 .

Cristian