Code Monkey home page Code Monkey logo

Comments (11)

jaymedavis avatar jaymedavis commented on July 17, 2024

request is in package.json, so it should be installed upon npm install. Run npm install again, and let me know what your output is. (specifically if it shows all the packages installed)

from hubble.

jaymedavis avatar jaymedavis commented on July 17, 2024

assume you are good now - closing

from hubble.

dillera avatar dillera commented on July 17, 2024

Nope, same thing


[22:17][dillera@massiveAir:~/Dropbox/devwork/hubble(master)]$ npm install
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/pad
npm http GET https://registry.npmjs.org/express
npm http 304 https://registry.npmjs.org/coffee-script
npm http 304 https://registry.npmjs.org/express
npm http 304 https://registry.npmjs.org/pad
npm http 304 https://registry.npmjs.org/underscore
npm http 304 https://registry.npmjs.org/colors
[22:17][dillera@massiveAir:~/Dropbox/devwork/hubble(master)]$ ./hubble.coffee 
Error: Cannot find module 'request'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:362:17)
    at require (module.js:378:17)
    at Object.<anonymous> (/Users/dillera/Dropbox/devwork/hubble/src/PollManager.coffee:4:13)
    at Object.<anonymous> (/Users/dillera/Dropbox/devwork/hubble/src/PollManager.coffee:33:4)
    at Module._compile (module.js:449:26)
    at Object.require.extensions..coffee (/Users/dillera/Dropbox/devwork/hubble/node_modules/coffee-script/lib/coffee-script/coffee-script.js:30:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)

from hubble.

dillera avatar dillera commented on July 17, 2024

info:

$ npm --version
1.2.0
$ node --version
v0.8.17
$ uname -a
Darwin massiveAir 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64

from hubble.

dillera avatar dillera commented on July 17, 2024

Re-read, and then I installed package and tried it:


[22:18][dillera@massiveAir:~/Dropbox/devwork/hubble(master)]$ npm install package
npm http GET https://registry.npmjs.org/package
npm http 200 https://registry.npmjs.org/package
npm http GET https://registry.npmjs.org/package/-/package-1.0.1.tgz
npm http 200 https://registry.npmjs.org/package/-/package-1.0.1.tgz
[email protected] node_modules/package
[22:20][dillera@massiveAir:~/Dropbox/devwork/hubble(master)]$ ./hubble.coffee 
Error: Cannot find module 'request'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:362:17)
    at require (module.js:378:17)
    at Object.<anonymous> (/Users/dillera/Dropbox/devwork/hubble/src/PollManager.coffee:4:13)
    at Object.<anonymous> (/Users/dillera/Dropbox/devwork/hubble/src/PollManager.coffee:33:4)
    at Module._compile (module.js:449:26)
    at Object.require.extensions..coffee (/Users/dillera/Dropbox/devwork/hubble/node_modules/coffee-script/lib/coffee-script/coffee-script.js:30:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)

from hubble.

jaymedavis avatar jaymedavis commented on July 17, 2024

"npm install hubble"

On Wednesday, February 6, 2013 at 8:21 PM, andy diller wrote:

Re-read, and then I installed package and tried it:
[22:18][dillera@massiveAir:/Dropbox/devwork/hubble(master)]$ npm install package npm http GET https://registry.npmjs.org/package npm http 200 https://registry.npmjs.org/package npm http GET https://registry.npmjs.org/package/-/package-1.0.1.tgz npm http 200 https://registry.npmjs.org/package/-/package-1.0.1.tgz [email protected] (mailto:[email protected]) node_modules/package [22:20][dillera@massiveAir:/Dropbox/devwork/hubble(master)]$ ./hubble.coffee Error: Cannot find module 'request' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:362:17) at require (module.js:378:17) at Object. (/Users/dillera/Dropbox/devwork/hubble/src/PollManager.coffee:4:13) at Object. (/Users/dillera/Dropbox/devwork/hubble/src/PollManager.coffee:33:4) at Module._compile (module.js:449:26) at Object.require.extensions..coffee (/Users/dillera/Dropbox/devwork/hubble/node_modules/coffee-script/lib/coffee-script/coffee-script.js:30:21) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12)


Reply to this email directly or view it on GitHub (#9 (comment)).

from hubble.

dillera avatar dillera commented on July 17, 2024

mmm nope:


[22:20][dillera@massiveAir:~/Dropbox/devwork/hubble(master)]$ npm install hubble
npm WARN install Refusing to install hubble as a dependency of itself

from hubble.

jaymedavis avatar jaymedavis commented on July 17, 2024

woah, never seen that one before - what OS you on? maybe try updating node/npm?

from hubble.

jaymedavis avatar jaymedavis commented on July 17, 2024

npm update - maybe that will do it.

from hubble.

dillera avatar dillera commented on July 17, 2024

OK, tried it from scratch- I think there was an issue with Npm downloading some packages and SSL cert errors which caused them not to install. I removed everything and re-installed and it's working.

from hubble.

jaymedavis avatar jaymedavis commented on July 17, 2024

Glad you got it worked out.

from hubble.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.