Firebase with google sign in Flutter app Error

 Error: 

 npm install -g firebase-tools

npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is kno

wn to be problematic.  See https://v8.dev/blog/math-random for details.

npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142


changed 668 packages in 2m

62 packages are looking for funding

  run `npm fund` for details

Solution


cmd:  npm uninstall -g angular-cli

cmd:  npm cache clean OR npm cache verify

cmd: 








Firebase Error 1: 

firebase : File C:\Users\pc_user\AppData\Roaming\npm\firebase.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170. At line:1 char:1 + firebase login + ~~~~~~~~ + CategoryInfo : SecurityError: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess


Solution

//open windows command shell as administrator and run command
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted

Comments

Popular posts from this blog

Pickle Rick - TryHackMe Problem Solving

Startup - TryHackMe Problem Solving

Tomghost - TryHackMe Problem Solving