I’m trying to execute the following command grunt build
but when trying it the below error message appear
PS C:UsersEDMADocumentsTutenlabsBitbuckettuten-macarena-backoffice-web> grunt build
C:UsersEDMAAppDataRoamingnvmv6.16.0node_modulesgrunt-clinode_modulesmicromatchindex.js:44
let isMatch = picomatch(String(patterns[i]), { ...options, onResult }, true);
^^^
SyntaxError: Unexpected token ...
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (C:UsersEDMAAppDataRoamingnvmv6.16.0node_modulesgrunt-clinode_modulesfindup-syncindex.js:12:10)
I navigate to C:UsersEDMAAppDataRoamingnvmv6.16.0node_modulesgrunt-clinode_modulesmicromatchindex.js:44
path and looked for index.js file to check whether there’s an error or not, but the strange thing is there isn’t. Any idea what’s going on here?
Aditionally, this is AngularJS.