Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: ReferenceError: Map is not defined #125

Closed
zg9uagfv opened this issue Jan 29, 2016 · 6 comments
Closed

Error: ReferenceError: Map is not defined #125

zg9uagfv opened this issue Jan 29, 2016 · 6 comments

Comments

@zg9uagfv
Copy link

`

:uname -ra

Linux 3.13.0-76-generic #120-Ubuntu SMP Mon Jan 18 15:58:41 UTC 2016 i686 i686 i686 GNU/Linux

#:npm install -g commitizen

#:/Project/t$ sudo commitizen init cz-conventional-changelog --save --save-exact --force
Attempting to initialize using the npm package cz-conventional-changelog
Error: ReferenceError: Map is not defined
#:
/Project/SyncClient$
`

@bkapicka
Copy link

bkapicka commented Feb 2, 2016

I had the same error when using Node v0.10.36. Updating to v4.2.6 resolved the issue in my case.

@jimthedev
Copy link
Member

@bkapicka is correct. At this time only 0.12 and greater are tested. We will continue to deprecate node versions in the future as stable versions come out.

@zg9uagfv
Copy link
Author

@bkapicka i got it!thanks.

@xetra11
Copy link

xetra11 commented Aug 24, 2016

As I tried to init my repo with commitizen I got following message:

Attempting to initialize using the npm package cz-conventional-changelog Error: ReferenceError: Map is not defined
npm -v // 1.3.10

can anybody guide me to get this to work? really love it!

@jimthedev
Copy link
Member

@xetra11 What version of Node are you using? You can find this by running node -v.
I do not know how version 1.3.10 of npm would work with commitizen. Please upgrade to at least the latest version of 2 or ideally version 3.

@xetra11
Copy link

xetra11 commented Aug 25, 2016

@jimthedev sorry dude I've mistaken node with npm so I was updating npm all the time ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants