babel-n...">

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

I'm having trouble installing babel-node

npm i -g babel-node

> babel-node@6.5.2 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
+4
source share
1 answer

I solved it ... it is not intuitive. I will leave this in case anyone else runs into this problem.

npm install --save-dev babel-cli

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

+9
source

Source: https://habr.com/ru/post/1662342/


All Articles