0
votes

I need to install the Meteorite software package in Meteor.

Environment is : Linux (Cent OS)

I am trying the commands below, but it gets an error. I don't understand about doing this. So, please see the below code and suggest how to accomplish installing meteorite software package into meteor.

[root@localhost myapp]# npm install -g meteorite
bash: npm: command not found
[root@localhost myapp]#
2
Look at this SO question, stackoverflow.com/questions/15508118/… . That should get npm installed for you. - nickytonline

2 Answers

0
votes

Well obviously you have not installed the npm command which is why cou get the complaint about the fact that this command is missing. I suggest you install that command. Use your local software management system to find the package and install it with a single click.

0
votes

The error message you're receiving from bash ("npm: command not found") indicates that bash can't find npm. This could either be because it's not installed, or because it's been moved or put in the wrong place.

Have you installed Node.js on your machine, or did you just run the Meteor install script? Meteor runs on top of Node.js, which is a server-side JavaScript engine. Npm is the package management tool for Node, and should come with it by default.

This article from DigitalOcean goes over how to install Node on CentOS. I'd suggest having a look at that.