GithubHelp home page GithubHelp logo

Comments (4)

adamsyy avatar adamsyy commented on June 16, 2024

heyy how to run the project locally, please help me out

from bhai-lang.

thehardikchaturvedi avatar thehardikchaturvedi commented on June 16, 2024

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

from bhai-lang.

Dhanashree1065 avatar Dhanashree1065 commented on June 16, 2024

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

from bhai-lang.

abhaynaagar avatar abhaynaagar commented on June 16, 2024

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

from bhai-lang.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.