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
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/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With