-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems tarn breaks create-react-app compilation #7
Comments
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. |
Oh, and I forgot to mention that only node is officially supported, not browsers. |
What the error says is create-react-app can't compile code in ES6. It does not mean 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. |
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. |
Hello. As far as I know a project based on create-react-app needs its dependencies compiled to ES5 but it seems that
tarn
package only provides ES6 code. Could your provide any help?Here is the error I get:
The text was updated successfully, but these errors were encountered: