bhai-lang
bhai-lang copied to clipboard
docs: project setup & getting started
As of now, there are no docs for Project setup for contributing and trying it out locally.
Let me know if help is needed.
heyy how to run the project locally, please help me out
As of now, there are no docs for Project setup for contributing and trying it out locally.
Let me know if help is needed.
I am unable to run it locally and also looked open issue about this but nothing worked, could you please help me out
Code: test.bhai
hi bhai bol bhai "Hello bhai"; bye bhai
when I am trying to run it locally it shows me this error:
In terminal: D:\Dhanashree\Learning\Bhailang_Examples> bhailang test.bhai
bhailang : File C:\Users\DELL\AppData\Roaming\npm\bhailang.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
- bhailang test.bhai
-
+ CategoryInfo : SecurityError: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess
How can I solve this??
Suggestions are welcome
This Problem that you are facing can be solved in two ways:
1). Run your code in Command Prompt, instead of PowerShell, it will run just fine.
2). or you can change your PowerShell Execution Policy to allow scripts like this to run on your local windows machine in future as well. In PowerShell(Administrator Mode) run: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
After this your test code will run in PowerShell as well, but after changing these Execution Policies, you should only execute scripts that you trust.
More information regarding PowerShell Execution Policy can be found here: https://docs.microsoft.com/en-in/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.2