rubenv / angular-gettext-tools

Tools for extracting/compiling angular-gettext strings.
http://angular-gettext.rocketeer.be/
MIT License
39 stars 129 forks source link

Loading "compile.js" tasks...ERROR #93

Closed NVK15 closed 8 years ago

NVK15 commented 9 years ago

Hi,

I have 'nggettext_extract' task defined in my grunt file and when i try to execute i get the following error:

Loading "compile.js" tasks...ERROR>> Error: Cannot find module 'lodash.isarray' Loading "extract.js" tasks...ERROR

Error: Cannot find module 'lodash.isarray'

This was working fine before, i have version 2.1.0 of grunt-angular-gettext.

Can anyone point me how to solve this?

Thanks in advance.

rubenv commented 9 years ago

Have you tried running npm install?

NVK15 commented 9 years ago

yes, 'angular-gettext' and 'grunt-angular-gettext' are installed globally. should i have do anything more?

rubenv commented 9 years ago

I'm not sure if a global install works for grunt tasks. I highly recommend installing them in the project.

NVK15 commented 9 years ago

i tried installing in project as well, doesn't help, i get the same error. Any other suggestions?

rubenv commented 9 years ago

I have no idea what this might cause.

Could you try getting https://github.com/rubenv/angular-gettext-example, doing an npm install and a grunt run?

That should work. If so, you have an example of how things should work. If not, there will probably something wrong with your Node.JS install.

gabegorelick commented 8 years ago

Closing this while we wait for more info. If this is an issue, it probably belongs in grunt-angular-gettext anyway.