KodeFor.Me
KodeFor.Me

Reputation: 13521

Grunt does not return anything

I used to use the ground in my previous computer (that died), and now I try to use it in my new computer. The problem is that I get no response when I use it.

More specific, I have gone to the folder that the Gruntfile resists and I run the command grunt watch, but I don't get any response from the Grunt

My command line looks like that:

merianos@merianos-pc:~/Documents/repositories/project/wp-content/themes/cours-de-musique/bower_components/bootstrap$ grunt watch
merianos@merianos-pc:~/Documents/repositories/project/wp-content/themes/cours-de-musique/bower_components/bootstrap$

In addition, I have tried the command npm list --depth=0 | grep grunt-contrib-compass and I got the following results:

npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! max depth reached: [email protected], required by [email protected]
npm ERR! not ok code 0

Note: The same file system used in the previous computer, and worked normally, but now in the new computer I have this problem. You should also know that I have not touched any of the files related to this project.

UPDATE 1

I have also tried grunt --version and again the result is the same:

merianos@merianos-pc:~/Documents/repositories/project/wp-content/themes/cours-de-musique/bower_components/bootstrap$ grunt --version
merianos@merianos-pc:~/Documents/repositories/project/wp-content/themes/cours-de-musique/bower_components/bootstrap$

Upvotes: 1

Views: 262

Answers (1)

KodeFor.Me
KodeFor.Me

Reputation: 13521

The problem solved:

The solution was following:

I opened the file /usr/local/bin/grunt and I replaced the following line

#!/usr/bin/env node

with the following:

#!/usr/bin/env nodejs

Upvotes: 1

Related Questions