react-big-schedule: Version 4.4.3 is broken
Checklist
- I’ve verified that I’m running react-big-schedule latest version.
Describe the bug
Attempted import error: ‘SchedulerData’ is not exported from ‘react-big-schedule’ (imported as ‘SchedulerData’). ERROR in ./src/cointainers/booking/views/booking.planboard.view.js 28:26-39 export ‘SchedulerData’ (imported as ‘SchedulerData’) was not found in ‘react-big-schedule’ (module has no exports)
ERROR in ./src/cointainers/booking/views/booking.planboard.view.js 28:59-70 export ‘DATE_FORMAT’ (imported as ‘DATE_FORMAT’) was not found in ‘react-big-schedule’ (module has no exports)
ERROR in ./src/cointainers/booking/views/booking.planboard.view.js 28:73-86 export ‘ViewType’ (imported as ‘ViewType’) was not found in ‘react-big-schedule’ (module has no exports)
ERROR in ./src/cointainers/booking/views/booking.planboard.view.js 41:14-26 export ‘ViewType’ (imported as ‘ViewType’) was not found in ‘react-big-schedule’ (module has no exports)
ERROR in ./src/cointainers/booking/views/booking.planboard.view.js 46:14-27 export ‘ViewType’ (imported as ‘ViewType’) was not found in ‘react-big-schedule’ (module has no exports)
ERROR in ./src/cointainers/booking/views/booking.planboard.view.js 51:14-28 export ‘ViewType’ (imported as ‘ViewType’) was not found in ‘react-big-schedule’ (module has no exports)
ERROR in ./src/cointainers/booking/views/booking.planboard.view.js 56:14-30 export ‘ViewType’ (imported as ‘ViewType’) was not found in ‘react-big-schedule’ (module has no exports)
ERROR in ./src/cointainers/booking/views/booking.planboard.view.js 61:14-27 export ‘ViewType’ (imported as ‘ViewType’) was not found in ‘react-big-schedule’ (module has no exports)
ERROR in ./src/cointainers/booking/views/booking.planboard.view.js 588:43-52 export ‘Scheduler’ (imported as ‘Scheduler’) was not found in ‘react-big-schedule’ (module has no exports)
Reproduction Link/Code
na
Steps to reproduce
yarn add react-big-schedule
Running this:
import React, { useEffect, useReducer, useState } from 'react';
import { Scheduler, SchedulerData, ViewType, DATE_FORMAT, } from 'react-big-schedule';
import "react-big-schedule/dist/css/style.css";
const PlanBoardView = ({
...props
}) => {
return (
<Scheduler/>
);
};
Operating System
Mac
Browser
Chromium
React version
18.3.1
react-big-schedule version
4.4.3
Additional Information
4.4.1 is working. 4.4.2 has the same issue.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 22 (12 by maintainers)
@jovana @itszakos @jmamadeu. I think have have fixed the issue. Can someone try by running npm install react-big-schedule@beta. If it works will push the code to master branch with stable release.