screeps / grunt-screeps

A Grunt plugin for commiting code to your Screeps account
MIT License
64 stars 36 forks source link

I am newbie player and a newbie dev. #13

Closed hallux4 closed 3 months ago

hallux4 commented 7 years ago

Hello everyone.

I cannot succeed in installing grunt-screeps.

nodeenv  envScreeps
. ./envScreeps/bin/activate

nodejs --version
v7.8.0
npm --version
4.2.0

I tried this:

npm install -g grunt-cli
npm install -g grunt //or grunt@0.4.5
npm install -g grunt-screep

And that:

npm install -g https://github.com/screeps/grunt-screeps

I tried many combinations with NPM but still go stuck with this.

├── UNMET PEER DEPENDENCY grunt@>=0.4.0
└── grunt-screeps@1.2.1  (git+https://github.com/screeps/grunt-screeps.git#d249b05a4cba157f3a79b0c627e01114de18c472)

npm WARN grunt-screeps@1.2.1 requires a peer of grunt@>=0.4.0 but none was installed.
freeze
grunt@1.0.1
grunt-cli@1.2.0
grunt-screeps@1.2.1

Can someone tell me what I do wrong ?

Thanks in advance.

drusepth commented 7 years ago

@hallux4 If you run npm install -g grunt, what does it output?

The line

npm WARN grunt-screeps@1.2.1 requires a peer of grunt@>=0.4.0 but none was installed.

makes me think grunt (not grunt-cli) is not properly installed.