Deploy Flutter App with Firebase. bypass the “not digitally signed” error in VS Code

If error is like, “You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.”
\npm\firebase.ps1 is not digitally signed. You cannot run this script on the current system. For more information
about running scripts and setting execution policy, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:2
+ firebase experiments:enable webframeworks
+ ~~~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess

Or like this

Step 0: then Use bypass command in VS Code
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

After that you can use normal commands for deploying apps.
Step 1: install g firebase tools.
npm install -g firebase-tools

Step 2: Enable web framework for flutter.
firebase experiments:enable webframeworks

Step 3: Initialize firebase hosting.
firebase init hosting

Then do some project related setup.
? Detected an existing Flutter Web codebase in the current directory, should we use this? No
? Do you want to use a web framework? (experimental) Yes
? What folder would you like to use for your web applications root directory? hosting
Could not determine the web framework in use.
? Please choose the framework: Flutter Web

- *Keep in mind whatever files will be inside the root directory that files will be uploaded in my case it is (hosting) folder, so i moved my all dart/flutter app related files to inside this folder. and choose the framework to Flutter Web

Step 4: Deploy firebase.
firebase deploy

Hurray!!!
