gruntjs / gruntjs/grunt-cli

Local Npm module "grunt-cli" not found. Is it installed?

Open
#131 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
697
Forks
245
PR merge metrics
No merged PRs in 30d

Description

I am trying to install grunt-cli locally but it is not working. I am running the below commands as admin.

```
C:\_Webs\adapt_authoring>npm install grunt-cli --save-dev
+ grunt-cli@1.3.2
updated 1 package in 6.31s

C:\_Webs\adapt_authoring>grunt
>> Local Npm module "grunt-cli" not found. Is it installed?

Running "build:dev" (build) task

Building application in dev mode

Running "migration-conf" task

Running "requireBundle:modules" (requireBundle) task

Running "requireBundle:plugins" (requireBundle) task

Running "generate-lang-json" task

Running "copy:main" (copy) task
Created 1 directory, copied 254 files

Running "less:dev" (less) task

Running "handlebars:compile" (handlebars) task
>> 1 file created.

Running "requirejs:dev" (requirejs) task

Done.
```

The reason I'm running here is because I'm trying to run a node package via https://github.com/coreybutler/node-windows however it's erroring and the service won't start:

```
info [10 Dec 19 17:35:00 +00:00] Supporting the following authentication types:
info [10 Dec 19 17:35:00 +00:00] - local
error [10 Dec 19 17:35:00 +00:00] grunt-cli could not be found, please check it is installed
info [10 Dec 19 17:35:01 +00:00] Connection established: adapt-tenant-master
error [10 Dec 19 17:35:01 +00:00] Some of the prerequisites could not be found, see above for details.
```

Any help greatly appreciated.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.