Comments (9)
I don't think there is a problem with p-iteration
.
According to this Q/A it seems you need to install babel-polyfill
as well.
from p-iteration.
According to the the Q/A I linked before, it seems you also need
babel-core
to make it work.
sorry.
It extracted code is some .
from p-iteration.
Hi!
Have you installed babel-preset-es2016
npm module? Also, I think you need babel-preset-es2017
as well.
from p-iteration.
I installed es2015. I tell es2016 install.
package.json
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2016": "^6.24.1",
but I see compile error .
Couldn't find preset "es2017" relative to directory
I more install es2017.
package.json
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2016": "^6.24.1",
"babel-preset-es2017": "^6.24.1",
Gulp.js
return browserify(
{
entries: 'jsxsrc/app.jsx', debug: true,
})
.transform(babelify, { presets: ["react", 'es2017'] })
I take green, but take a runtime exception.
"regeneratorRuntime is not defined"
I copy static find method and revert setting....
from p-iteration.
ok.
thank you toniov.
I think install babel-polyfill.
thank you.
from p-iteration.
You're welcome :)
Feel free to open another issue if you have any problem.
from p-iteration.
I installed polifill and more.
pcakage.json
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2016": "^6.24.1",
"babel-preset-es2017": "^6.24.1",
"babel-preset-react": "^6.24.1",
but I tell message "regeneratorRuntime is not defined".
I Change "static-methods.js"
import 'babel-polyfill';
will done.
Do you think about it?
I use polyfill in first time. I dont know change is correct.
from p-iteration.
According to the the Q/A I linked before, it seems you also need babel-core
to make it work.
from p-iteration.
Oh I mistake.
before
app.js
import from xxxx
import 'babel-polyfill';
after
app.js
import 'babel-polyfill';
import from xxxx
Its done.
from p-iteration.
Related Issues (11)
- Add mapParallel and forEachParallel HOT 1
- Package is distributed under license MIT or ISC? HOT 1
- Is it possible to use in a chain? HOT 1
- Possible to limit the number of concurrent iterations? HOT 1
- Take over maintenance HOT 1
- Collaborate on asyncp HOT 2
- Unexpected token HOT 2
- Support for other types that implement Symbol.iterator HOT 3
- Safari Support HOT 3
- "Failed to minify the code" HOT 2
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 p-iteration.