enyo / tag

Upgrades the version number and tags it.
5 stars 0 forks source link

Broken on newer node? #1

Closed lobbin closed 10 years ago

lobbin commented 10 years ago
Silver-surfer:~ Robin$ node --version
v0.10.25
Silver-surfer:~ Robin$ npm --version
1.3.26
Silver-surfer:~ Robin$ tag -h

module.js:340
    throw err;
          ^
Error: Cannot find module '../src/tag'
  at Function.Module._resolveFilename (module.js:338:15)
  at Function.Module._load (module.js:280:25)
  at Module.require (module.js:364:17)
  at require (module.js:380:17)
  at Object.<anonymous> (/opt/local/lib/node_modules/versiontag/bin/tag.js:3:1)
  at Module._compile (module.js:456:26)
  at Object.Module._extensions..js (module.js:474:10)
  at Module.load (module.js:356:32)
  at Function.Module._load (module.js:312:12)
  at Function.Module.runMain (module.js:497:10)
  at startup (node.js:119:16)
  at node.js:902:3
enyo commented 10 years ago

have you installed it with npm install -g tag ?

enyo commented 10 years ago

Btw... I don't use that script that much anymore... I think that this branching model is actually a big overkill :)

lobbin commented 10 years ago

Yes, perhaps the branching, but I like the tagging help :)

Either way, compiling the src/*.coffee into js-files solved the problem.