Code Monkey home page Code Monkey logo

Comments (2)

SINHAPIYUSH avatar SINHAPIYUSH commented on August 23, 2024

After resolving this issue by installing
brew install --cask powershell

Facing this issue below:

Executing preprovision hook => /var/folders/t1/6k5yrx055dnf88pf4b12v6f40000gp/T/azd-preprovision-2787934008.ps1
Connect-AzAccount: /var/folders/t1/6k5yrx055dnf88pf4b12v6f40000gp/T/azd-preprovision-2787934008.ps1:4:31
Line |
4 | Install-Module AzureAD -Force;Connect-AzAccount;$principalId = (Get-A …
| ~~~~~~~~~~~~~~~~~
| The term 'Connect-AzAccount' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was
| included, verify that the path is correct and try again.

ERROR: failed running pre hooks: 'preprovision' hook failed with exit code: '1', Path: '/var/folders/t1/6k5yrx055dnf88pf4b12v6f40000gp/T/azd-preprovision-2787934008.ps1'. : exit code: 1

from openai.

pgr-lopes avatar pgr-lopes commented on August 23, 2024

Hi. I'm getting the same problem using git bash on Windows. Did you ever get an answer to this? I get the same 'pwsh' is not recognized.

edit: The problem was with the PowerShell module. I re-downloaded powershell and it's working now.

from openai.

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.