npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

Unexpected token

C.\Users\Niels\AppData\Roaming\npm\node_modules\cordova\bin\cordova:28
cli(process.argv).catch(err =>{

SyntaxError: Unexpected token>
at Module._compile (module.js:439:25)
at Object.Module._extension…js(module.js:474:10)

and so on
What can i do?

With best regards Niels


It seems like you are running cordova on an older version of Node (<4.0.0) which does not support arrow functions.


Get off discord u retard ur a nerd that’s y ur adopted