babel / example-node-server

Example Node Server w/ Babel
ISC License
2.84k stars 382 forks source link

On DigitalOcean ubuntu .. #40

Open pociej opened 5 years ago

pociej commented 5 years ago

... after npm install --save-dev babel-cli babel-preset-env babel is still not available in CL. Instead i see below output.

root@socket-server-ZZ:~/projects/my_app# babel src -d dist/
The program 'babel' can be found in the following packages:
 * babel-1.4.0
 * openbabel
Try: apt install <selected package>
zerojuan commented 5 years ago

That's because babel-cli is installed locally (in your project directory's node_modules).

You can either: