B
B
bozilly2015-09-07 19:29:25
Node.js
bozilly, 2015-09-07 19:29:25

Why isn't Grunt, Gulp, etc. installed?

I have Debian 8.
Installed nmp and nodejs (from the repository)
Install, for example, Grunt
npm install -g grunt-cli
Returns

/usr/local/bin/grunt -> /usr/local/lib/node_modules/grunt-cli/bin/grunt
[email protected] /usr/local/lib/node_modules/grunt-cli
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected])

But on startup it
grunt
says
/usr/bin/env: node: Нет такого файла или каталога

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Max, 2015-09-07
@bozilly

In debian, the binary is called nodejs, not node
sudo ln -s /usr/bin/nodejs /usr/bin/node

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question