Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

Can't find local grunt #135

Open
paulmist opened this issue Sep 5, 2019 · 3 comments
Open

Can't find local grunt #135

paulmist opened this issue Sep 5, 2019 · 3 comments

Comments

@paulmist
Copy link

paulmist commented Sep 5, 2019

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 [email protected]: 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.

> [email protected] 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
Copy link

Mathlit commented Oct 4, 2019

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
Copy link

Same issue

@JoshMoreno
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants