DolDurma
DolDurma

Reputation: 17331

Nodejs npm failed to install nodemon

I want to install Nodemon on my ubuntu, but I get an error and I could not.

#npm install -g nodemon

npm WARN optional dep failed, continuing [email protected]
/usr/bin/nodemon -> /usr/lib/node_modules/nodemon/bin/nodemon.js
[email protected] /usr/lib/node_modules/nodemon
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

and this is my ubuntu version:

root@ubuntu:/home/salam# lsb_release -a 
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.4 LTS
Release:        14.04
Codename:       trusty

I'm using the root username and password to install it

Upvotes: 0

Views: 475

Answers (1)

Dennis Shtatnov
Dennis Shtatnov

Reputation: 1363

It looks like it installed correctly.

The only error is a warning:

npm WARN optional dep failed, continuing [email protected]

Please note that fsevents is only for supporting OS X hosts (https://github.com/strongloop/fsevents) and is not needed on Linux/Ubuntu.

You should be able to run the nodemon command in your terminal to verify this.

Upvotes: 1

Related Questions