Open eladonline opened 6 years ago
× TypeError: Cannot read property 'shape' of undefined ./node_modules/react-image-slider/lib/ImageSlider.js C:/Users/elad/Desktop/netflix/netflix-rebuild/node_modules/react-image-slider/lib/ImageSlider.js:192 189 | return Slider; 190 | }(_react2.default.Component); 191 |
192 | Slider.propTypes = _react2.default.PropTypes.shape({ 193 | visibleItems: _react.PropTypes.number.isRequired, 194 | images: _react.PropTypes.array.isRequired, 195 | delay: _react.PropTypes.number.isRequired, View compiled webpack_require C:/Users/elad/Desktop/netflix/netflix-rebuild/webpack/bootstrap 2cb67855e5e85d992c20:678 675 | }; 676 | 677 | // Execute the module function 678 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId)); 679 | 680 | // Flag the module as loaded 681 | module.l = true; View compiled fn C:/Users/elad/Desktop/netflix/netflix-rebuild/webpack/bootstrap 2cb67855e5e85d992c20:88 85 | console.warn("[HMR] unexpected require(" + request + ") from disposed module " + moduleId); 86 | hotCurrentParents = []; 87 | } 88 | return webpack_require(request); 89 | }; 90 | var ObjectFactory = function ObjectFactory(name) { 91 | return {
I am getting the same error
× TypeError: Cannot read property 'shape' of undefined ./node_modules/react-image-slider/lib/ImageSlider.js C:/Users/elad/Desktop/netflix/netflix-rebuild/node_modules/react-image-slider/lib/ImageSlider.js:192 189 | return Slider; 190 | }(_react2.default.Component); 191 |