Doing a symlink solves the issue:
ln -s /usr/bin/nodejs /usr/bin/node
(My thanks and +1 vote to bodokaiser’s answer).
More Related Contents:
- NPM modules won’t install globally without sudo
- npm: When to use `–force` and `–legacy-peer-deps`
- How to solve npm error “npm ERR! code ELIFECYCLE”
- How can I update NodeJS and NPM to their latest versions?
- NPM Install Error:Unexpected end of JSON input while parsing near ‘…nt-webpack-plugin”:”0’
- How to use executables from a package installed locally in node_modules?
- Cannot install packages using node package manager in Ubuntu
- Node – was compiled against a different Node.js version using NODE_MODULE_VERSION 51
- Grunt watch error – Waiting…Fatal error: watch ENOSPC
- How to include scripts located inside the node_modules folder?
- Why does “npm install” rewrite package-lock.json?
- How can I completely uninstall nodejs, npm and node in Ubuntu [closed]
- updating nodejs on ubuntu 16.04
- How to solve npm install throwing fsevents warning on non-MAC OS?
- npm install error – unable to get local issuer certificate
- npm ERR! Error: connect ECONNREFUSED when trying to update the npm
- Install Node.js on Ubuntu
- How to deploy node app that uses grunt to heroku
- npm install – javascript heap out of memory
- npm install doesn’t create node_modules directory
- When I run `npm install`, it returns with `ERR! code EINTEGRITY` (npm 5.3.0)
- What does -save-dev mean in npm install grunt –save-dev
- Grunt on Windows 8: ‘grunt’ is not recognized
- How to install a specific version of Node on Ubuntu?
- Gatsby Failed Build – error “window” is not available during server side rendering
- how to use async await with https post request
- The authenticity of host ‘github.com (192.30.252.128)’ can’t be established
- libsass bindings not found when using node-sass in nodejs
- node –experimental-modules, requested module does not provide an export named
- npm ERR! git dep preparation failed when trying to install package.json