Comments (11)
Got the same problem from 1.1.1 (node v4.1.0) downgraded to 1.1.0 and working properly
from cz-conventional-changelog.
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.
Confirming issue for iojs
as well. Downgraded to 1.1.0 worked.
from cz-conventional-changelog.
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:
- node version
- npm version
- commitizen cli version
- if cz-conventional-changelog is working for you
Thanks so much for your patience.
from cz-conventional-changelog.
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.
Thanks @jimthedev, v1.1.2 worked fine for me. Here the information you might need.
from cz-conventional-changelog.
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
node v0.12.7
[email protected]
[email protected]
from cz-conventional-changelog.
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.
Closed. See my comment above for a new issue to track eventual NPM3 support.
from cz-conventional-changelog.
Thank you. I've just started using commitizen and cz-conventional-changelog yesterday. It's awesome!
from cz-conventional-changelog.
@dferber90 Fantastic. Glad you're enjoying it. 👍 :D
from cz-conventional-changelog.
Related Issues (20)
- NPM audit reports low vulnerability in dependency HOT 3
- require('@commitlint/load') does not work properly anymore HOT 9
- Better Tests HOT 1
- 2nd source of lodash 4.17.14 vulnerability
- Commitlint config loading not working
- Something maybe wrong with the code in engine.js
- Vulnerability Prototype Pollution HOT 2
- Add config option to extend instead of overriding HOT 1
- Add prompter option to append .gitmessage to commits
- Add support for optional exclamation mark (!) HOT 1
- Dependency Dashboard
- Action Required: Fix Renovate Configuration
- [Feature request] Add autocomplete feature
- Vulnerability warnings with ansi-regex and minimist HOT 11
- Title config in package.json is not working anymore, but still remaining in README.md
- the adapter does not respect the commit types defined in .versionrc
- add an option to customize scopes HOT 1
- Add additional prompt for co-authors
- Skip some of the questions with configuration
- Documentation for `config.commitizen` settings and custom configuration file support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cz-conventional-changelog.