[Pkg-javascript-devel] Upgrade issues
Paul van Tilburg
paulvt at debian.org
Wed Mar 28 07:53:57 UTC 2012
Hi all,
Before I want to file appropriate bug reports, I wanted to check in here first.
I have been working on a Node Express app that uses the connect-form library.
I am planning to package this soon when I have the time. But I still
have an issue:
With the upload of nodejs 0.6 and dependant libraries my setup has
completely broken. As I am very new to (node.)js I am not sure what is
going on.
---
$ node app.js
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: require.paths is removed. Use node_modules folders, or the
NODE_PATH environment variable instead.
at Function.<anonymous> (module.js:378:11)
at Object.<anonymous> (/home/paul/.node_libraries/connect-form at 0.2.1/index.js:4:21)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:32)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object.<anonymous> (/home/paul/Projects/plemp-node/app.js:12:12)
at Module._compile (module.js:441:26)
---
I assumed connect-form was broken for node > 0.6, however, I cannot
upgrade it as npm also doesn't work:
---
$ npm
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: No such module
at Object.<anonymous> (/usr/share/npm/lib/utils/output.js:8:21)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:32)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object.<anonymous> (/usr/share/npm/lib/utils/log.js:21:14)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
---
Any ideas/pointers?
Cheers,
Paul
--
Using the Power of Debian GNU/Linux | E-mail: paulvt at debian.org
Jabber/GTalk: paul at luon.net | GnuPG key ID: 0x50064181
More information about the Pkg-javascript-devel
mailing list