I am using Magento2 version CE-2.2.4 i installed npm,grunt on fresh project but when i am running command
grunt exec:theme
then it create an error Loading "Gruntfile.js" tasks...ERROR
SyntaxError: Unexpected token { Warning: Task "exec:theme" not found. Use --force to continue.
I have tried by using force command but did not work.