我在安装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发布于 2016-11-30 05:56:21
我解决了这个问题...这不是直觉。我会把这个留下来,以防其他人遇到这个问题。
npm install --save-dev babel-cli
https://stackoverflow.com/questions/40876411
复制相似问题