missing module "child_process" #1

Closed
sdepold opened this Issue Apr 11, 2010 · 3 comments

3 participants

@sdepold
var kiwi    = require("kiwi"),
growl   =  kiwi.require("growl")
growl("foo", "bar")

==>

Error: Cannot find module 'child_process'
at loadModule (node.js:574:15)
at require (node.js:700:12)
at Object.<anonymous> (/Users/prototype/.kiwi/current/seeds/growl/1.0.1/lib/growl.js:8:21)
at Module._compile (node.js:721:23)
at Module._loadScriptSync (node.js:733:16)
at Module.loadSync (node.js:632:10)
at loadModule (node.js:577:16)
at require (node.js:700:12)
at Object.require (/Users/prototype/.node_libraries/kiwi.js:116:16)
at Object.<anonymous> (/Users/prototype/Projects/nodejs_growl_test/test.js:2:21)

What's wrong?

@tj
Owner
tj commented Apr 12, 2010

whats your node --version ?

you should be using growl.notify() or
growl = require('growl').notify
to use it how you have there, but apparently
"child_process" is unavailable but I am using the latest node and its fine

@sdepold

node --version
=> 0.1.33

i installed it via kiwi

@tj
Owner
tj commented Apr 12, 2010

hmm... weird man, i remember it was working on 0.1.33 for me,
and works on the latest release as well

@jbnicolai jbnicolai closed this Sep 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment