I am trying to use an api from github that takes rate my professor ratings and the instructions were fairly clear. https://github.com/shafi-dayatar/rmp-api
npm install rmp-api --save
which worked but once I require it
var rmp = require('rmp-api');
It gives me the error
Error: Cannot find module 'rmp-api'
I've tried rebuilding the app, reinstalling all the dependencies and still nothing. Is there something I might be missing from the installation?
The rmp-api
package is no longer hosted in NPM. At this time, if you visit the npm page for rmp-api , you will see the following description:
This package name is not currently in use, but was formerly occupied by another package. To avoid malicious use, npm is hanging on to the package name, but loosely, and we'll probably give it to you if you want it.
It appears this happened 9 months ago, and based on the last commit being in August of 2016, I'd guess this package has been abandoned. If you want to use it, you can install it using the githubname/reponame syntax (see the documentation for more details):
npm install --save shafi-dayatar/rmp-api
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.