While building the nodejs application with babel module received an error like babel-node not found, which means we need to install the dependency package globally.
$ npm install
Showed the error below,
sh: 1: babel-node: not found
npm ERR! code ELIFECYCLE
npm ERE! syscall spawn
npm ERR! file sh
npm ERR! ENOENT errno
Now, install the babel-cli node_module globally,
$ sudo npm install babel-cli -S
Comments (0)