hexo icon indicating copy to clipboard operation
hexo copied to clipboard

error:Received malformed response from registry for undefined. The registry may be down.

Open huasio opened this issue 8 years ago • 4 comments

image

请问这个是什么错误?

huasio avatar May 26 '18 01:05 huasio

在命令行里面执行npm install,将依赖性安装起来

OceanChip avatar Jun 08 '18 22:06 OceanChip

This may be a yarn or npm server problem. Please re-open the issue if the problem is with hexo. Thanks

tcrowe avatar Jun 09 '18 02:06 tcrowe

If you are in PRC, try the following steps to see if the issue is gone:

cd /path/to/your-blog
yarn config set registry https://registry.npm.taobao.org
yarn

JLHwung avatar Jun 09 '18 02:06 JLHwung

Thanks @JLHwung I didn't think of that

tcrowe avatar Jun 09 '18 03:06 tcrowe