Coder Social home page Coder Social logo

Comments (11)

 avatar commented on July 20, 2024

Got the same problem from 1.1.1 (node v4.1.0) downgraded to 1.1.0 and working properly

from cz-conventional-changelog.

ericdouglas avatar ericdouglas commented on July 20, 2024

Got the same problem from 1.1.1 and 1.1.0 (node v4.1.0), downgraded to 1.0.1 and worked properly.

from cz-conventional-changelog.

sebastienbarre avatar sebastienbarre commented on July 20, 2024

Confirming issue for iojs as well. Downgraded to 1.1.0 worked.

from cz-conventional-changelog.

jimthedev avatar jimthedev commented on July 20, 2024

Thank you all so much for the feedback and apologies for the inconvenience. I've confirmed that a recent PR introduced this bug for older node versions in an attempt to support new npm and node versions. Bottom line, I am rolling back that PR and have released 1.1.2 which is effectively the same as 1.1.0. Rolling back the breaking changes.

I can't account for @ericdouglas having to go back all the way to 1.0.1 but at this point please continue to use which ever version you have working. Perhaps consider blowing away your node_modules folder or npm cache clear

Unfortunately npm@3 and node@4 have introduced a bunch of new functionality and breaking changes that impact commitizen. The primary mistake here is that I introduced breaking changes w/o bumping a major version. Specifically the flattening of dependencies in npm3 is a large change that breaks some of the fundamental assumptions cz could safely make in the past. We can no longer make these assumptions and unfortunately without a comprehensive test suite, it make it very hard to know exactly what the matrix of functionality looks like.

So, I have released 1.1.2 tonight. If you could all report back once you've upgraded to that, I'd appreciate it.

I would love to have the following information:

  1. node version
  2. npm version
  3. commitizen cli version
  4. if cz-conventional-changelog is working for you

Thanks so much for your patience.

from cz-conventional-changelog.

jimthedev avatar jimthedev commented on July 20, 2024

One thing I will be focusing on for the commitizen 2.0 is making sure that there is a comprehensive test suite to find these kind of regressions in the future. I'll be creating a 2.0 milestone in the cz-cli repo that you can track for npm3 support.

from cz-conventional-changelog.

 avatar commented on July 20, 2024

Thanks @jimthedev, v1.1.2 worked fine for me. Here the information you might need.

from cz-conventional-changelog.

dferber90 avatar dferber90 commented on July 20, 2024

Unfortunately it is not working for me with 1.1.2 and 1.1.0.

Report for 1.1.2:

$ git cz
Potentially unhandled rejection [3] Error: Error loading "node_modules/word-wrap/index" at file:/../eslint-plugin-meteor/node_modules/cz-conventional-changelog/node_modules/word-wrap/index.js
Error loading "node_modules/word-wrap/index" from "index" at file:/../eslint-plugin-meteor/node_modules/cz-conventional-changelog/index.js
ENOENT, open '/../eslint-plugin-meteor/node_modules/cz-conventional-changelog/node_modules/word-wrap/index.js'
    at Error (native)

Versions

from cz-conventional-changelog.

jimthedev avatar jimthedev commented on July 20, 2024

Thanks @mahpah.

@dferber90 I've opened an issue in the main cli project for NPM 3 support. It has been added to the commitizen 2.0 milestone.

from cz-conventional-changelog.

jimthedev avatar jimthedev commented on July 20, 2024

Closed. See my comment above for a new issue to track eventual NPM3 support.

from cz-conventional-changelog.

dferber90 avatar dferber90 commented on July 20, 2024

Thank you. I've just started using commitizen and cz-conventional-changelog yesterday. It's awesome!

from cz-conventional-changelog.

jimthedev avatar jimthedev commented on July 20, 2024

@dferber90 Fantastic. Glad you're enjoying it. 👍 :D

from cz-conventional-changelog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.