[ERROR] Exception occured while validation: Line 151: Unexpected token

Hi :wave:t2:,

Hope you’re doing well and good!

I have installed the latest FDK version 7.1.0 and my Node version is 12.22.0. While I’m trying to validate/run the app, it throws me an error stating there is an unexpected token (… Spread operator). Refer to the below screenshot.

image

FYI: engines property is also added to the manifest.json.

Am I missing anything here?

Are you running fdk validate in app directory? Or are you running it globally? Because in the latter case it won’t work.

1 Like

Can you share code snippet of how you are using spread operator on line 151?

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.