-
Notifications
You must be signed in to change notification settings - Fork 48
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
TypeError: Class constructor CustomEvent cannot be invoked without 'new' #77
Comments
I have the same error? |
Modules that use `PersistedPaneset` are broken due to bugs in the release of `@rehooks/local-storage` `2.4.1`. Additional details at rehooks/local-storage#77 Refs FOLIO-3128
Lock onto `2.4.0` to avoid rehooks/local-storage#77 Refs STSMACOM-501
Lock onto `2.4.0` to avoid rehooks/local-storage#77 Refs STSMACOM-501
Lock onto `2.4.0` to avoid rehooks/local-storage#77 Refs STSMACOM-501
I am having the same issue. For a quickfix you can rollback to 2.4.0. The breaking behavior was introduced by #67. I think the fix would be to implement the suggestion in this comment: #67 (comment) |
@spencerschack you are a life saver 🥇 |
Yep, running into this. Reverting to 2.4.0 works. |
I can confirm that our CI started failing when we updated from 2.4.0 to 2.4.1. |
When is that planned to be fixed? 2.4.1 is broken |
Any update on this? |
@jharrilim is it possible to make at least a working patch version? Everytime when doing a interactive upgrade this lib pops up in not making our build correctly anymore. Its not expectable that using a patch upgrade can give this behaviour. Thanks! |
Thanks for suggesting the quickfix!
I haven't taken a look at this repo in a while so I might be a bit slow to boot, but I shall look into this tonight or sometime this week.
Agreed, and sorry for the inconvenience. We shall fix this sometime soon. |
While I wait on getting access to publish to npmjs.com, I have published the 2.4.2 patch to GitHub packages instead, and have also published it under my own scope. Here is how you may use both alternatives: Switch to @jharrilim/local-storageProbably the simplest choice, just change your package.json entry that once said: {
"dependencies": {
"@rehooks/local-storage": "^2.4.1"
}
} to: {
"dependencies": {
"@jharrilim/local-storage": "^2.4.2"
}
} Use the GitHub packageA little more effort, but if it matters, it keeps you pulling from the same org. Add a
|
…, comment out x-user-key for templateInterviews, implements select template behavior and support copy interview by id,
Sorry to say it but it doesn't look like I'll be able to do this any time soon: As mentioned above, however, I have provided 2 viable solutions that were the best I could do for now. Feel free to use those, or fork this repo if those solutions aren't preferable. |
@jharrilim the fix is released under 2.4.3 version on npm. I don't have org access to rehooks to add you as a contributor to npm. Didn't focus on this, as I was busy with my day job and don't really use this package anymore. Thanks for keeping it maintained. I'll try to be more active with publishing. |
Hey Im also seeing this error on version 2.4.3. Any update on a fix? |
@samofwise Same here, problem wasn't fixed in 2.4.3, please reopen @iamsolankiamit |
Reopening as it seems the issue is not resolved |
Yep, an issue is still here |
same here, reverting to 2.4.0 works |
installing 2.4.0 works |
Thanks! |
2.4.3 Still same error
|
I do get the same error with 2.4.3, reverting back to 2.4.0 works |
Will #80 fix this? Seems that inheriting from |
@giladgo 2.4.4 should fix this |
When running tests with Jest & running our app on
"@rehooks/local-storage": "2.4.1"
Details:
The text was updated successfully, but these errors were encountered: