Skip to content

Instantly share code, notes, and snippets.

@gwpantazes
Created August 10, 2016 21:39
Show Gist options
  • Save gwpantazes/c49d55f3b5299e156c55de212221a1f5 to your computer and use it in GitHub Desktop.
Save gwpantazes/c49d55f3b5299e156c55de212221a1f5 to your computer and use it in GitHub Desktop.
Appium Install Grunt Errors
somebody@somebodys-MacBook-Pro:~/repo/appium$ sudo `which grunt`; authorize
Password:
grunt-cli: The grunt command line interface (v1.2.0)
Fatal error: Unable to find local grunt.
If you're seeing this message, grunt hasn't been installed locally to
your project. For more information about installing and configuring grunt,
please see the Getting Started guide:
http://gruntjs.com/getting-started
-bash: authorize: command not found
somebody@somebodys-MacBook-Pro:~/repo/appium$ npm install grunt
npm WARN prefer global coffee-script@1.10.0 should be installed with -g
appium@1.5.3 /Users/tester/repo/appium
└─┬ grunt@1.0.1
├── coffee-script@1.10.0
├─┬ dateformat@1.0.12
│ ├── get-stdin@4.0.1
│ └─┬ meow@3.7.0
│ ├─┬ camelcase-keys@2.1.0
│ │ └── camelcase@2.1.1
│ ├── decamelize@1.2.0
│ ├─┬ loud-rejection@1.6.0
│ │ ├─┬ currently-unhandled@0.4.1
│ │ │ └── array-find-index@1.0.1
│ │ └── signal-exit@3.0.0
│ ├── map-obj@1.0.1
│ ├── minimist@1.2.0
│ ├─┬ normalize-package-data@2.3.5
│ │ ├── hosted-git-info@2.1.5
│ │ ├─┬ is-builtin-module@1.0.0
│ │ │ └── builtin-modules@1.1.1
│ │ └─┬ validate-npm-package-license@3.0.1
│ │ ├─┬ spdx-correct@1.0.2
│ │ │ └── spdx-license-ids@1.2.2
│ │ └─┬ spdx-expression-parse@1.0.2
│ │ └── spdx-exceptions@1.0.5
│ ├── object-assign@4.1.0
│ ├─┬ read-pkg-up@1.0.1
│ │ ├─┬ find-up@1.1.2
│ │ │ ├── path-exists@2.1.0
│ │ │ └─┬ pinkie-promise@2.0.1
│ │ │ └── pinkie@2.0.4
│ │ └─┬ read-pkg@1.1.0
│ │ ├─┬ load-json-file@1.1.0
│ │ │ ├── graceful-fs@4.1.5
│ │ │ ├─┬ parse-json@2.2.0
│ │ │ │ └─┬ error-ex@1.3.0
│ │ │ │ └── is-arrayish@0.2.1
│ │ │ ├── pify@2.3.0
│ │ │ └─┬ strip-bom@2.0.0
│ │ │ └── is-utf8@0.2.1
│ │ └── path-type@1.1.0
│ ├─┬ redent@1.0.0
│ │ ├─┬ indent-string@2.1.0
│ │ │ └─┬ repeating@2.0.1
│ │ │ └─┬ is-finite@1.0.1
│ │ │ └── number-is-nan@1.0.0
│ │ └── strip-indent@1.0.1
│ └── trim-newlines@1.0.0
├── eventemitter2@0.4.14
├── exit@0.1.2
├── findup-sync@0.3.0
├── glob@7.0.5
├─┬ grunt-cli@1.2.0
│ └── resolve@1.1.7
├── grunt-known-options@1.1.0
├─┬ grunt-legacy-log@1.0.0
│ ├── colors@1.1.2
│ ├─┬ grunt-legacy-log-utils@1.0.0
│ │ ├─┬ chalk@1.1.3
│ │ │ ├── ansi-styles@2.2.1
│ │ │ ├── escape-string-regexp@1.0.5
│ │ │ ├─┬ has-ansi@2.0.0
│ │ │ │ └── ansi-regex@2.0.0
│ │ │ ├── strip-ansi@3.0.1
│ │ │ └── supports-color@2.0.0
│ │ └── lodash@4.3.0
│ ├── hooker@0.2.3
│ ├── lodash@3.10.1
│ └── underscore.string@3.2.3
├─┬ grunt-legacy-util@1.0.0
│ ├── async@1.5.2
│ ├── getobject@0.1.0
│ └── lodash@4.3.0
├── iconv-lite@0.4.13
├─┬ js-yaml@3.5.5
│ ├─┬ argparse@1.0.7
│ │ └── sprintf-js@1.0.3
│ └── esprima@2.7.2
├─┬ nopt@3.0.6
│ └── abbrev@1.0.9
└── rimraf@2.2.8
somebody@somebodys-MacBook-Pro:~/repo/appium$ sudo `which grunt`; authorize
A valid Gruntfile could not be found. Please see the getting started guide for
more information on how to configure grunt: http://gruntjs.com/getting-started
Fatal error: Unable to find Gruntfile.
-bash: authorize: command not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment