Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

babel-node installation "Only RSA and DSA public keys are allowed"

I'm having trouble installing babel-node

npm i -g babel-node

> [email protected] postinstall /Users/.../.../node_modules/babel-node
> node message.js; sleep 10; exit 1;

/Users/.../.../node_modules/ssh-key-to-pem/index.js:210
    throw new Error('Only RSA and DSA public keys are allowed');
    ^

Error: Only RSA and DSA public keys are allowed
like image 266
Timmerz Avatar asked Nov 29 '16 21:11

Timmerz


1 Answers

I solved this...it's not intuitive. I'll leave this up in case someone else runs into this issue.

npm install --save-dev babel-cli

https://babeljs.io/docs/usage/cli/

like image 78
Timmerz Avatar answered Nov 17 '22 21:11

Timmerz