Comments (4)
That error doesn't really say anything. I'm sorry, but I don't have time to solve this for you. You need to google that yourself.
Tarn is written in node 4.0.0 compatible ES6 code. We won't support older nodes or rewrite the project in ES5.
from tarn.js.
Oh, and I forgot to mention that only node is officially supported, not browsers.
from tarn.js.
What the error says is create-react-app can't compile code in ES6. It does not mean tarn
has got errors.
It is explained following the link in the error message: http://bit.ly/2tRViJ9
It is considered a good practice to provide code following ES5 standard in npm packages as the CRA docs say also.
from tarn.js.
It is considered a good practice to provide code following ES5 standard in npm packages as the CRA docs say also.
Yup, for browsers. But as I said, browsers are not officially supported by this project. Writing code in ES5 in 2018 for node projects would be insane.
from tarn.js.
Related Issues (20)
- feature request: asynchronous validate function HOT 9
- Remove Travis config HOT 2
- Add regression test for .destroy() delay optimization
- Need a hook for connection acquire to call a query for Postgres Row Level Security HOT 1
- Feature request: be able to change the Pool options "max" and "min" at runtime HOT 10
- Feature request: Ability to disable reaping HOT 5
- `createFail` event handler not called when resource creation times out HOT 3
- Invalid return type of validate function in constructor property.
- acquire() fails immediately with TimeoutError if pool in a weird state HOT 4
- Event Emitter methods missing (.once) and (.off) HOT 8
- Error: aborted HOT 1
- `@types/node` needs to be declared as a dependency for this package to work with typescript and yarn v2 HOT 2
- Support exponential backoff for create retries HOT 2
- Add diagnostics_channel hooks HOT 1
- Exemple use cases HOT 5
- Curious behavior with idle timeouts (Postgres) HOT 3
- Consider adding some hook for refreshing resource after idle timeout is reached
- Feature Request: Ability to configure free resource selection algorithm HOT 1
- Increase timeout request HOT 1
- \node_modules\tarn\dist\Pool.js:65 throw new Error(`Tarn: unsupported option opt.${key}`);
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 tarn.js.