Victor Baptista
Victor Baptista
  • Видео 3
  • Просмотров 8 411
Powershell denied access - how to fix it!
Powershell policies may deny access to scripts. I found this one when I first started learning Typescript. Solution in this video. Make sure you subscribe to the chanel.
Error on the Terminal:
Set-ExecutionPolicy : Access to the registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Micrrosoft.PowerShell' is denied.
At line:1 char:20
+ Set-ExecutionPolicy RemoteSigned
+ CategoryInfo : NotSpecified: (:) [Set-ExecutionPolicy], UnauthorizedAccessException
+ FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.SetExecutionPolicyCommand
Просмотров: 2 420

Видео

[Fixed] Deploy React with Netlify (build.command failed)[Fixed] Deploy React with Netlify (build.command failed)
[Fixed] Deploy React with Netlify (build.command failed)
Просмотров 6 тыс.2 года назад
React deploy with Netlify, via Github. My solution to "build.command" failed Command failed with exit 1
How to choose a programming language?How to choose a programming language?
How to choose a programming language?
Просмотров 432 года назад
My first video on the channel! Why did I choose WebDev. The question: how to choose a computer can sometimes be hard to answer. Hope my insight can help someone out there.

Комментарии

  • @user-js8tb9wc9z
    @user-js8tb9wc9z 4 месяца назад

    easy and amazing stupid fix jajaja

  • @abs-kv5qe
    @abs-kv5qe 4 месяца назад

    thank you sir

  • @mrjimorg
    @mrjimorg 6 месяцев назад

    My interface is hosed. I can run powershell using Cntrl-R, but there is no option to "right click" and specify "run as admin". Is there a way to start a powershell in admin from powershell non-admin?

  • @1987kahil
    @1987kahil 8 месяцев назад

    Didn't work for me either

  • @nehal2192
    @nehal2192 Год назад

    You just solved my problem within two minute. Thanks man

  • @shashikirandanannavar5429
    @shashikirandanannavar5429 Год назад

    worked welll..thanks

  • @mel.w1155
    @mel.w1155 Год назад

    It works! amazing!

  • @bumio1405
    @bumio1405 Год назад

    thank you, i've been up for ages tryna figure this out!!!

  • @vishvsalvi9887
    @vishvsalvi9887 Год назад

    Thanks Victor, It works

  • @vivianlee6350
    @vivianlee6350 Год назад

    it works for me! thank you so much bro😭 you saved my life!

  • @edwardma27
    @edwardma27 Год назад

    tysm! i never thought of this aspect

  • @victorbaptista7388
    @victorbaptista7388 Год назад

    ** UPDATE! ** #1 Make sure all paths in your projects are relative to the scope of src, use e.g: "../../". Don't use a longer path that includes your own computer, e.g: "C:\Users\Username\Documents\Project" - that's outside of Netlify's scope. #2 In Deploy Settings, make sure these configs are set based on the package management chosen for your project: NPM Build command: CI=false yarn build Publish directory: build/ YARN Build command: CI=false npm run build Publish directory: build/ ** CI=true will treat any warning from your project as an error, that's why we use CI=false.

  • @dronacoderhub4755
    @dronacoderhub4755 Год назад

    Checking the ng version it was giving access denied i run the cmnd but didn't work

  • @dronacoderhub4755
    @dronacoderhub4755 Год назад

    Didn't work for me

  • @jonathan-uwagboepromise3139
    @jonathan-uwagboepromise3139 Год назад

    Best approach ever after years of trying lol. Thanks man.

  • @Regalman
    @Regalman Год назад

    very bad

  • @kkotbin
    @kkotbin Год назад

    thanks man it works

  • @luiscorrea5541
    @luiscorrea5541 2 года назад

    thanks!

  • @Saitam_ha
    @Saitam_ha 2 года назад

    I love you!

  • @tausifkhan3049
    @tausifkhan3049 2 года назад

    Thank you so much bro for making this video ❤️

  • @Soppphia
    @Soppphia 2 года назад

    Thank you very much!!!

  • @juniorfixhow1566
    @juniorfixhow1566 2 года назад

    a humble liar

  • @nachozz1032
    @nachozz1032 2 года назад

    Legend! Thank you so much!

  • @caiosiqueira6138
    @caiosiqueira6138 2 года назад

    Thanks! It helped a lot!

  • @techcheck3042
    @techcheck3042 2 года назад

    My man. Good lookin out. And nice guitar 🤙🏻

    • @victorbaptista7388
      @victorbaptista7388 2 года назад

      Heya! Hope it works for you. And thanks, it's indeed a nice guitar.

  • @larbizard
    @larbizard 2 года назад

    Thank you for the workaround !

  • @JohnDoe-ej6vm
    @JohnDoe-ej6vm 2 года назад

    i am still facing same error tried a lot of things. 9:27:45 PM: Creating deploy upload records 9:27:45 PM: Failing build: Failed to build site 9:27:45 PM: Failed during stage 'building site': Deploy directory 'build' does not exist

    • @larbizard
      @larbizard 2 года назад

      You need to commit yout build folder to your repo. Comment it in the .gitignore file

    • @gevolgdev
      @gevolgdev 2 года назад

      i have solution: open package.json and change build for it ---> "build": "CI= react-scripts build". this work for me ps: sorry by my english

    • @cryptocrazeee4672
      @cryptocrazeee4672 2 года назад

      @@larbizard what do you mean bro

    • @larbizard
      @larbizard 2 года назад

      @@cryptocrazeee4672 it's not a good practice but it was the solution I used at the moment. You need to push the build folder to your repository

    • @arunwarrier1873
      @arunwarrier1873 Год назад

      @@larbizard i did this and it worked. build error is gone. thank u

  • @pauloloyede1963
    @pauloloyede1963 2 года назад

    Thanks for sharing