I downloaded the TextMate bundle for node.js.
But this bundle doesn’t work properly.
And the console output contains a warning that module “sys” is renamed as “util”.
To fix this two issues:
Some fix these 2 issues, some modification to command script is needed:
var sys = require("sys");to
var sys = require("util");to fix the warning.
- Replace all instances of
After modification, close the Bundle Editor. Then ask TextMate to reload all the bundles.
Then the command will work perfectly now.
You need to press ctrl + alt + n to activate the bundle manually.
This problem can be fixed by changing scope selector of all the snippets and commands. You can change it from “source.js.node” to “source.js”