Comments (6)
Hmm, your package.json include babel-polyfill
. I should start checking these things before I open issues. Maybe something is wrong in your babelrc (maybe you need es2017
for example)?
from neo4-js.
I'm using node 7.10.1, fwiw.
from neo4-js.
This suggests maybe the problem is that babel-polyfill
is listed as a dev dependency when it should be a regular dependency. Maybe . . . I don't know that much about these things.
from neo4-js.
I'm currently developing a project myself using neo4-js and I also noticed that I need to add babel-polyfill as an dependency and I need to require the polyfill with import "babel-polyfill";
for my project. I'm not happy with this! So I'm able to replicate the problem. I try to fix this in the coming days!
Thanks for your feedback! That means a lot to me! I hope you keep trying my library 👍
from neo4-js.
Yeah, actually, I installed babel-polyfill
and required it prior to requiring this and everything worked fine, so I assume importing it somewhere here would be sufficient.
from neo4-js.
I asked one of the core contributors of babel, he said either import the babel-polyfill within the server application or do a runtime transformation. I'll give the later a try this week!
from neo4-js.
Related Issues (5)
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 neo4-js.