Closed peterzanetti closed 3 months ago
Having the same issue on a next.js 14.0.3 typescript app with node 18.17.0
Having the same issue on a react 18.2.0 typescript app with node 18.13.0
Same here.
same here react ^17.0.2
npm i @babel/runtime
Running this has fixed this issue. But the style (CSS) is not loading
@peterzanetti do you find any alternative? I have to submit the calendar event today. feked up :(
@Jobin-S You can lower the version to 1.8.7 to temporarily solve this problem :)
I had the same problem. Update to the latest version of @babel/runtime, then update Big Calendar. Check if another @babel directory exists inside your react-big-calendar directory and delete it.
Looks like this was introduced in v1.10.1 with the updates to yarn.lock
same problem here, did you find any solution?
Please see @marcocinus91 comment above for the solution to this issue.
I solved it by adding "@babel/runtime": "^7.24.6"
to the resolutions. When running yarn install
, it removed duplicate (stale) entries. After that I removed the "resolution" and it still works.
"resolutions": {
"@babel/runtime": "^7.24.6"
},
Check that this is really a bug
Reproduction link
n/a
Bug description
On a fresh install of react-big-calendar and rendering with the most basic example, I am immediately getting this error and it won't render. Please assist.
Module not found: Error: Package path ./helpers/esm/callSuper is not exported from package ../node_modules/@babel/runtime
Expected Behavior
Renders the calendar
Actual Behavior
Fails
react-big-calendar version
1.11.2
React version
18.2.0
Platform/Target and Browser Versions
macOS
Validations
Would you like to open a PR for this bug?