Vvikas
(Vvikas Gupta)
1
Hi,
I updated my fdk to 8.6.2 today and after updating I am getting error whenever trying to run fdk run
or fdk validate
.
[ERROR] Exception occured while validation: The keyword 'const' is reserved
To me it looks like, it is giving error when it encounter ES6 code. I replaced all const and let with var then it threw error about arrow functions.
Code was compiling fine till yesterday, before the update.
Saif
(Saif Ali Shaik)
3
I just upgraded to 8.6.2
today.
I didn’t see this problem. Do you mind sharing the zip of the sample app? I will run fdk validate
on it to see what’s wrong?
Vvikas
(Vvikas Gupta)
4
Hi @Saif ,
I have messaged you the zip
Vvikas
(Vvikas Gupta)
5
Hi,
Is there any update on this?
Saif
(Saif Ali Shaik)
6
Our team is on top of this, @Vvikas .
I am able to reproduce the issue.
Vvikas
(Vvikas Gupta)
7
Thanks @Saif ,
It is a blocker for me. I don’t want to convert my codebase to ES5 and ditch ES6. Not a pretty view.
Saif
(Saif Ali Shaik)
8
The fix has been released.
Please upgrade to version 8.6.3
using:
npm install https://dl.freshdev.io/cli/fdk.tgz -g
I tried to run fdk validate
on the test app you shared. The validation has been successful. Hopefully, this should solve the problem.
1 Like
Vvikas
(Vvikas Gupta)
9
It is working now, thank you.
1 Like