Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installed following docs, but generates error #5

Open
glenbot opened this issue Feb 14, 2012 · 1 comment
Open

Installed following docs, but generates error #5

glenbot opened this issue Feb 14, 2012 · 1 comment

Comments

@glenbot
Copy link

glenbot commented Feb 14, 2012

After installing the testling packages running npm I get the following error running the example test

$ testling test.js
The "sys" module is now called "util". It should have a similar interface.
node/jsdom                      0/0    0 % ok
test.js                         0/0    0 % ok
  Error: Cannot find module 'testling'
    at Function._resolveFilename (module.js:334:11)
    at Function._load (module.js:279:25)
    at Module.require (module.js:357:17)

Here is my npm version:

$ npm --version
1.0.104

My node.js version:

$ node --version
v0.6.1
@glenbot
Copy link
Author

glenbot commented Feb 14, 2012

seems like newer versions of node.js require NODE_PATH to be places in your bash_profile or bash_rc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant