-
Notifications
You must be signed in to change notification settings - Fork 552
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
Cannot read property 'load' of undefined #731
Comments
I also just ran into this and have no idea why this is happening... I've never seen it before. |
Having the same problem here. Upgraded to 4.1.0 and started seeing the error. Rolling back to ~4.0.5 seems to work. |
To help searchability this is the error I get on 4.1.0
|
Looks like the configLoader.load() method was removed But in 4.1.0 there is still a reference to it Line 17 in f7982d3
|
@Techn1x I'm pretty sure its not the method that's undefined, its the configLoader itself. |
same issue here |
recently I am having various issues with |
For anyone having problems please downgrade to 4.0.5 for now. |
🙈 sorry about this, investigating! |
This PR should fix it: #733 Will merge as soon as it is green. Super sorry for this everyone, I didn't realise that this was part of the public api. Will also have a look at why the tests didn't catch this, it seems like they do now that a new version is published. I believe that this is because the tests install from npm, a good approach is probably to change this to Hopefully a new version should be published in ~15 minutes! |
This should be fixed in version 4.1.1, super sorry for the breakage! Also sorry for the slow response, shouldn't release and then go to bed I guess 🙈 |
@fahimmahmoodmir sorry about that, it's being fixed in #735 which is currently being released. I've written up here on why I didn't catch this when developing this, and how I will avoid releasing broken builds in the future here: #734 (comment) edit: released as 4.1.2 |
I attempted to install and set up commitizen to my project for the first time, but it seems like it is throwing a strange error.
This is a fresh install and no custom configuration. This is what is in my package.json config
I had a look through the code and I suspect this is the line where the error is thrown
If anyone has any idea why it would be throwing this error please let me know.
The text was updated successfully, but these errors were encountered: