liip / TheA11yMachine

The A11y Machine is an automated accessibility testing tool which crawls and tests pages of any web application to produce detailed reports.
https://www.liip.ch/
621 stars 66 forks source link

Can't find local grunt #135

Open paulmist opened 5 years ago

paulmist commented 5 years ago

I'm struggling to install - seems to be an error finding local install of Grunt.

➜  A11y npm install -g the-a11y-machine
npm WARN deprecated crypto@0.0.3: This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.

> html_codesniffer@2.4.1 prepack /Users/paulmist/.npm/_cacache/tmp/git-clone-a7bbdc74
> grunt build

grunt-cli: The grunt command line interface (v1.3.2)

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:

https://gruntjs.com/getting-started
npm ERR! premature close

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/paulmist/.npm/_logs/2019-09-05T13_26_31_304Z-debug.log

I've tried installing Grunt separately with no luck fixing the above

Mathlit commented 4 years ago

Dealing with the same problem here. And after installing grunt and grunt-cli manually, you're still greeted with a message about not being able to find a gruntfile.

AkshitSahani commented 4 years ago

Same issue

JoshMoreno commented 4 years ago

I too tried installing grunt-cli globally then this package, but that didn't work.

Just tried installing this globally with yarn and it worked! yarn global add the-a11y-machine