Search code examples
node.jswindowsfirebasenpmfirebase-tools

unable to install firebase tools cli using windows 10


Hi i unable to install the firebase tools via commandline in the windows

im using this below command

npm install -g firebase-tools

after entering this command i m getting this below error

npm ERR! path C:\Users\data\AppData\Roaming\npm\node_modules\firebase-tools\node_modules

npm ERR! code ELOOP

npm ERR! errno -4067

npm ERR! syscall mkdir

npm ERR! ELOOP: too many symbolic links encountered, mkdir 'C:\Users\data\AppData\Roaming\npm\node_modules\firebase-tools\node_modules'

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


Solution

  • 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