neutralinojs / neutralinojs-cli

neu cli for Neutralinojs
https://neutralino.js.org/docs/cli/neu-cli
MIT License
91 stars 57 forks source link

Neu command crashes with syntax error #213

Closed terraquad closed 1 year ago

terraquad commented 1 year ago

Describe the bug When I try to install neutralino using npm, it does work, but if I try to run the neu command, the script crashes with the error you can see in the attached screenshot.

To Reproduce

  1. Install Neutralino using sudo npm i -g @neutralinojs/neu
  2. Run neu command
  3. See error

Expected behavior It should not crash and print the help text.

Screenshots/Screen recordings cmd-screenshot

Specifications

Edit: Sorry, I had installed node/npm from apt, these versions were extremely out of date (node v12), I've compiled node myself and now it works!