-
Notifications
You must be signed in to change notification settings - Fork 28
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
Can't use import or async or any other ES6 features in Forest config #70
Comments
Hi @GautierT, you're right! |
I disable the code verif made by the module and it's working. And on my
server Babel run before so it's okay for now
Le mer. 5 juil. 2017 17:29, Arnaud Besnier <notifications@github.com> a
écrit :
… Hi @GautierT <https://github.com/gautiert>, you're right!
This is something we have to improve, but I can't give you any ETA.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#70 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFzrtRn7BT_rEA6wy3C5Km3r7OZAFwADks5sK6vGgaJpZM4OOYz1>
.
|
@GautierT sorry for the misunderstanding on my side :( |
The fix is now available on the latest liana version (1.4.3). 🌲🌲🌲 |
I still have the error after updating :
First 2 line of
|
What happens if you set a semi-colon at the end of the import line? |
I still have the same error. I had to remove this block
On forest-express/index.js line 160 and replace it by
|
@GautierT sure it will work if you remove this part of the code, but we want to keep that part to prevent unexpected errors while generating the UI based on your Forest customization. Can you help us by digging into your Forest customization code in order to find what is not accepted by the syntax inspector? |
I only have this problem in my dev environment. Here is the first lines of src/forest/index.js
What do you need ? |
Just to check what is the origin of the issue. |
@GautierT you can upgrade to the latest liana version (forest-express-mongoose@1.4.9), it should be fixed now. |
Awesome ! Thanks for this very quick fix @arnaudbesnier . |
Hi, when i try to config forest like that :
i have this error :
Seems that ES6 is not supported ?
The text was updated successfully, but these errors were encountered: