Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Node 0.5 removes require.paths #3

@richardhodgson

Description

@richardhodgson

When running proton with node v0.5.x you get the following error...

richard@september:~/projects/bluff$ ./node_modules/.bin/proton

node.js:205
        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:360:11)
    at [object Object].run (/home/richard/projects/bluff/node_modules/proton/lib/cli.js:92:12)
    at Object.<anonymous> (/home/richard/projects/bluff/node_modules/proton/bin/proton:9:11)
    at Module._compile (module.js:416:26)
    at Object..js (module.js:434:10)
    at Module.load (module.js:335:31)
    at Function._load (module.js:294:12)
    at Array.<anonymous> (module.js:454:10)
    at EventEmitter._tickCallback (node.js:197:26)

For node 0.5.x, require.paths has been deprecated, see
http://nodejs.org/docs/v0.4.11/api/all.html#_Note_Please_Avoid_Using_require.paths_

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions