无法使用Windows 10安装Firebase工具CLI [英] unable to install firebase tools cli using windows 10
问题描述
我无法在Windows中通过命令行安装Firebase工具
Hi i unable to install the firebase tools via commandline in the windows
我使用下面的命令
npm install -g firebase-tools
输入此命令后,我得到以下错误
after entering this command i m getting this below error
npm ERR!路径C:\ Users \ data \ AppData \ Roaming \ npm \ node_modules \ firebase-tools \ node_modules
npm ERR! path C:\Users\data\AppData\Roaming\npm\node_modules\firebase-tools\node_modules
npm ERR!代码ELOOP
npm ERR! code ELOOP
npm ERR!埃尔诺-4067
npm ERR! errno -4067
npm ERR! syscall mkdir
npm ERR! syscall mkdir
npm ERR! ELOOP:遇到太多符号链接,mkdir'C:\ Users \ data \ AppData \ Roaming \ npm \ node_modules \ firebase-tools \ node_modules'
npm ERR! ELOOP: too many symbolic links encountered, mkdir 'C:\Users\data\AppData\Roaming\npm\node_modules\firebase-tools\node_modules'
npm ERR!可以在以下位置找到此运行的完整日志:
npm ERR! A complete log of this run can be found in:
npm ERR! C:\ Users \ data \ AppData \ Roaming \ npm-cache_logs \ 2018-01-20T13_22_41_404Z-debug.log
npm ERR! C:\Users\data\AppData\Roaming\npm-cache_logs\2018-01-20T13_22_41_404Z-debug.log
推荐答案
实际上,您可以尝试安装
npm i -g firebase-tools@v3.16.0
版本并尝试安装
npm install windows-build-tools
**在本地文件夹中,然后安装
** npm install node-gyp
在您的本地文件夹中,然后执行所有这些操作之前尝试禁用防病毒软件
Actually you can try installing the
npm i -g firebase-tools@v3.16.0
version and try to install the
npm install windows-build-tools
**in your local folder and after that install
**npm install node-gyp
in your local folder and before doing all these try to disable your antivirus
这篇关于无法使用Windows 10安装Firebase工具CLI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!