Failed at the grpc@1.20.0 install script. while installing react

自闭症网瘾萝莉.ら 提交于 2020-05-31 03:46:47

问题


I am having a hard time installing React Theme. The problem is when I downloaded the theme and extracted it and went to the root directory...then tried to install it by running this command npm install.

it gave this error

Failed at the grpc@1.20.0 install script.

the error log was like this:


回答1:


After whole hours I find a hint from Github saying the problem was installing firebase which basically has grpc in them.

So what I did was to disable the antivirus or windows defender, whatever you have in your pc, and boom it will install safely.

this was the link I referred to https://github.com/grpc/grpc-node/issues/121



来源:https://stackoverflow.com/questions/58935430/failed-at-the-grpc1-20-0-install-script-while-installing-react

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!