Comments (6)
I had the same problem. Installing the package solves the issue.
npm install --save babel-polyfill
from react-insta-stories.
Checked this one, installing babel-polyfill
solves the issue. @niklaskeerl it's better to install it as a dev dependency!
npm install --save-dev babel-polyfill
from react-insta-stories.
When I install babel-polyfill I get
Error: only one instance of babel-polyfill is allowed
at Object.eval (webpack://dev-server/./node_modules/babel-polyfill/lib/index.js?:16:9)
at eval (webpack://dev-server/./node_modules/babel-polyfill/lib/index.js?:52:30)
at Object../node_modules/babel-polyfill/lib/index.js (<anonymous>:367:1)
at __webpack_require__ (<anonymous>:30:30)
at Module.eval (webpack://dev-server/./src/components/contact-us.js?:14:1)
at eval (webpack://dev-server/./src/components/contact-us.js?:46:30)
at Module../src/components/contact-us.js (<anonymous>:7693:1)
at __webpack_require__ (<anonymous>:30:30)
at Module.eval (webpack://dev-server/./src/pages/contact-us.js?:2:126)
at eval (webpack://dev-server/./src/pages/contact-us.js?:34:30)
using this boilerplate: https://www.reactpwa.com/en/ I just added couple of lines
from react-insta-stories.
I have fixed this issue in the recent commit. babel-polyfill
was being imported wrongly. Please update your npm package! Hope this solves the issue. @EralpB @vlinas
Update
This commit did not solve the issue, I have reverted back to earlier code. The current working npm version is 1.1.2. For now, npm install --save-dev babel-polyfill
solves the issue.
Tried rollup-plugin-multi-entry for adding babel-polyfill
to the inputs, but it broke default exports. Suggestions for this are welcome.
from react-insta-stories.
You shouldn't include babel-polyfill in your component's code at all. It's up to the user to include in it's codebase.
from react-insta-stories.
This issue has been fixed in the latest release. Please update the package to V1.3.0. This version also includes new features like video stories and smooth animations.
from react-insta-stories.
Related Issues (20)
- [Bug] Unable to skip the last story.
- Failed to minify the code from this file from react-insta-stories/dist/index.js:1:250 HOT 1
- For React Native HOT 1
- Preloading
- Preloading images HOT 6
- Adding a custom renderer changes the tap behavior
- Is there a way to "inherit" from the default renderers in my custom renderer?
- Requested : To help me ,how can I use Header section in my code HOT 3
- Feature Request: Access to currentIndex from within onNext and onPrevious callbacks
- Shows Loading Spinner Constantly HOT 6
- Is the project abandoned? HOT 4
- drag to left or right for load new stoies object
- Not able to Mute the Video File
- Is Paused prop not working HOT 3
- Videos do not load/play on safari
- Warning: ReactInstaStories: Support for defaultProps will be removed HOT 1
- Support HLS format
- Typings for `width` and `height` props HOT 2
- Storystyles not working
- IOS: after a pause the next story is played
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-insta-stories.