Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
This is me, trying to install since it won't come down with NPM 1.1, i'm trying it manually
Linking in the folder:
garrett@li284-151:~/$ sudo npm link
npm WARN eyes@0.1.7 dependencies field should be hash of <name>:<version-range> pairs
npm http GET
npm http 200
/usr/local/bin/hookio -> /usr/local/lib/node_modules/
/usr/local/lib/node_modules/ -> /home/garrett/
Linking in the project folder:
garrett@li284-151:~/goodnyou$ npm link
./node_modules/ -> /usr/local/lib/node_modules/ -> /home/garrett/
My code:
//main hook.
var Hook = require('hookio').Hook;
var hook = new Hook();
The error:
garrett@li284-151:~/goodnyou$ node first.js
throw e; // process.nextTick error, or 'error' event on first tick
Error: Cannot find module 'hookio'
at Function._resolveFilename (module.js:332:15)
at Function._load (module.js:279:25)
at Module.require (module.js:356:17)
at require (module.js:372:17)
at Object.<anonymous> (/home/garrett/goodnyou/first.js:2:12)
at Module._compile (module.js:443:26)
at Object..js (module.js:461:10)
at Module.load (module.js:350:32)
at Function._load (module.js:308:12)
at Array.0 (module.js:481:10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.