"/usr/bin/env: node: No such file or directory" - UBUNTU

Check out this GitHub Issue

https://github.com/nodejs/node-v0.x-archive/issues/3911

If you have installed nodejs from your package repo in ubuntu it is called nodejs and not node.
You can solve it whit a symlink but you should not place the symlink in /usr/bin like nodejs is, but in /usr/local/bin/node for it to be outside the package systems world to comply to standards.
ie: 
ln -s /usr/bin/nodejs /usr/local/bin/node

Comments

Popular posts from this blog

'jasypt.encryptor.password' or one of ['jasypt.encryptor.privateKeyString', 'jasypt.encryptor.privateKeyLocation'] must be provided for Password-based or Asymmetric encryption

Field or property 'jobParameters' cannot be found on object of type 'org.springframework.beans.factory.config.BeanExpressionContext' - Spring Batch

java.security.spec.InvalidKeySpecException: Only RSAPrivate(Crt)KeySpec and PKCS8EncodedKeySpec supported for RSA private keys