Error: Cannot find module 'grunt-legacy-util' #1165
Comments
Hmm... I just blew away my node_modules and ran I'm running:
What version of grunt are you on? I think they've had API changes recently. |
No response for 2 days, closing. This can be re-opened in the future if new information is included. |
I'm not sure why this started happening to me, too, but running |
npm update fixed it for me |
👍 npm update did the trick |
I got the same error when grunt is run from a project created with yeoman (yo angular and code lab options) and the app folder is under /vagrant. It disappeared after a yo update (npm update -g yo) and the creation of a new project, even in /vagrant. vagrant@dev:~$ grunt --version vagrant@dev:~$ cd /vagrant/ vagrant@dev:~/mytodolocal$ grunt --version vagrant@dev:/vagrant$ cd mytodo/ module.js:340 vagrant@dev:/vnpm update -g yo Full log of grunt --version ran within the project module.js:340 Here is the installation process I ran before grunt --version works fine in another vm I created from an angular-seed template, even when the commande is run from within a project |
Did you run |
@feltnerm |
I've just tried to build fine-uploader, but after following the instructions, I get to
grunt package
and I get the following error:I've tried installing
grunt-legacy-util
, but I still get the same error. Any ideas where I'm going wrong?The text was updated successfully, but these errors were encountered: