Skip to content

using node 0.10.36 commitizen is broken #226

@jessekoconnor

Description

@jessekoconnor

When im using node 0.10.36, I cant use commitizen. I get the following error:

`git-cz

/sw/git-repo/apps/haakon-env/repos/translations/node_modules/commitizen/dist/commitizen/adapter.js:173
var parsed = _path2.default.parse(inboundAdapterPath);
^
TypeError: Object # has no method 'parse'
at resolveAdapterPath (/sw/git-repo/apps/haakon-env/repos/translations/node_modules/commitizen/dist/commitizen/adapter.js:173:31)
at gitCz (/sw/git-repo/apps/haakon-env/repos/translations/node_modules/commitizen/dist/cli/strategies/git-cz.js:77:35)
at Object.bootstrap (/sw/git-repo/apps/haakon-env/repos/translations/node_modules/commitizen/dist/cli/git-cz.js:31:27)
at Object. (/sw/git-repo/apps/haakon-env/repos/translations/node_modules/commitizen/bin/git-cz.js:2:34)
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 Module.require (module.js:364:17)
at require (module.js:380:17)

npm ERR! Darwin 14.5.0
npm ERR! argv "node" "/Users/jesseoconnor/.nvm/v0.10.36/bin/npm" "run" "commit"
npm ERR! node v0.10.36
npm ERR! npm v2.14.18
npm ERR! code ELIFECYCLE
npm ERR! @meltwater/[email protected] commit: git-cz
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the @meltwater/[email protected] commit script 'git-cz'.
npm ERR! This is most likely a problem with the @meltwater/translations package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! git-cz
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs @meltwater/translations
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls @meltwater/translations
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /sw/git-repo/apps/haakon-env/repos/translations/npm-debug.log
Jesses-MacBook-Pro:translations jesseoconnor$ npm --version
2.14.18
Jesses-MacBook-Pro:translations jesseoconnor$ node --version
v0.10.36`

Metadata

Metadata

Assignees

No one assigned

    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