repo for bug in nathancahill/split#259
- 👌 bug-1 split_js__WEBPACK_IMPORTED_MODULE_2___default
- 👌 bug-2 The above error occurred in the
- 👌 ok-1 Working
used: os: windows and linux it is not working
- node v12.16.3
- yarn 1.22.4
when [email protected] and [email protected]
- move yarn.lock.ok -> yarn.lock
- yarn install
- yarn start
- http://localhost:3000/
- is OK
when [email protected] and [email protected]
- yarn install
- yarn start
- http://localhost:3000/
- is bad
when run this app
Uncaught TypeError: split_js__WEBPACK_IMPORTED_MODULE_2___default(...) is not a function
at SplitWrapper.componentDidMount (react-split.es.js:46)
at commitLifeCycles (react-dom.development.js:19690)
at commitLayoutEffects (react-dom.development.js:22662)
at HTMLUnknownElement.callCallback (react-dom.development.js:189)
at Object.invokeGuardedCallbackDev (react-dom.development.js:238)
at invokeGuardedCallback (react-dom.development.js:291)
at commitRootImpl (react-dom.development.js:22404)
at unstable_runWithPriority (scheduler.development.js:659)
at runWithPriority$1 (react-dom.development.js:11077)
at commitRoot (react-dom.development.js:22246)
at finishSyncRender (react-dom.development.js:21663)
at performSyncWorkOnRoot (react-dom.development.js:21649)
at scheduleUpdateOnFiber (react-dom.development.js:21045)
at updateContainer (react-dom.development.js:24194)
at react-dom.development.js:24577
at unbatchedUpdates (react-dom.development.js:21763)
at legacyRenderSubtreeIntoContainer (react-dom.development.js:24576)
at Object.render (react-dom.development.js:24659)
at Module../src/index.js (main.chunk.js:108)
at __webpack_require__ (bootstrap:782)
at fn (bootstrap:150)
at Object.0 (main.chunk.js:127)
at __webpack_require__ (bootstrap:782)
at checkDeferredModules (bootstrap:45)
at Array.webpackJsonpCallback [as push] (bootstrap:32)
at main.chunk.js:1
when [email protected] and [email protected]
- remove yarn.lock
- yarn install
- yarn start
- http://localhost:3000/
- is Bad
when run this app
The above error occurred in the </static/media/react-split.b4c36863.mjs> component:
in /static/media/react-split.b4c36863.mjs (at dashApp.js:11)
in div (at dashApp.js:10)
in DashApp (at src/index.js:6)
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.
when I change in app to split.js 1.5.9-11 and [email protected] is working
- move yarn.lock.ok -> yarn.lock
- yarn install
- yarn start
- http://localhost:3000/
- is OK