robin-huss commented on issue #623: URL: https://github.com/apache/cordova-cli/issues/623#issuecomment-1702499276
This is indeed an issue when using an unsupported node version. I had the exact same issue. Turns out i was running both nvm-windows and nodist. I configured nvm-windows to use 18.17.1, but nodist was configured with node 11.13.0. Somehow the node -v returns 18.17.1, but the actual node version used was 11.13.0. which leads to the mentioned SyntaxError. I know this issue is closed, but i wanted to post this here to hopefully save others from having to dig into this. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
