17 Jun 2014, 12:43

Filip Abramowicz (2 posts)

Running the script (on Ubuntu 12.04) which starts with the following line:

’#!/usr/bin/env node –harmony’

ends up with:

‘/usr/bin/env: node –harmony: No such file or directory’

I’ve already tried: checking if there is execution permission on the partition, reinstalling NodeJS, creating symlink from node to nodejs

Nothing really worked, but what is strange executing the same script without ‘–harmony’ just with:

’#!/usr/bin/env node’

at the begining - worked well. I know that the ‘–harmony’ part is for some reason there and I am also sure this is some strange configurational issue related to my Ubuntu but perhaps somebody knows some other way (other syntax) to invoke node with the ‘–harmony’ part at the begining of this script?

  You must be logged in to comment