Git Product home page Git Product logo

Comments (5)

DAntonenko avatar DAntonenko commented on July 26, 2024 3

It's the same for me. I installed the package with npm install --global @shower/cli. Then I tried to execute shower create <name> in VS Code terminal, but I got an error "shower: Невозможно загрузить файл ...\npm\shower.ps1, так как выполнение сценариев отключено в этой системе". Then I tried the same in WebStorm terminal, because it uses something of its own instead Windows Power Shell. And it worked - the first and only time. The project was created. But I was interested in solving the problem in VS Code, so I deleted the newly created project (without closing WebStorm - I don't know if it matters). And then I opened Windows Power Shell as administrator and changed policy with Set-ExecutionPolicy unrestricted. After that no attempt to execute shower create <name> leads to any discernible results. I tried to uninstall and reinstall the cli, to reboot the PC, to use shower create <name> in Power Shell itself – these did not help. I tried to do the same on another PC (also under Windows 10), but nothing worked there from the very beginning, even in WebStorm.

from cli.

pepelsbey avatar pepelsbey commented on July 26, 2024

Quoting the shower/shower#374 by @lenaryan

Slides are not creating with "shower create". Looks like my code editor is "thinking" but nothing happens.
Win 10, VSCode.

image

from cli.

speker2010 avatar speker2010 commented on July 26, 2024

It's the same for me. I installed the package with npm install --global @shower/cli. Then I tried to execute shower create <name> in VS Code terminal, but I got an error "shower: Невозможно загрузить файл ...\npm\shower.ps1, так как выполнение сценариев отключено в этой системе". Then I tried the same in WebStorm terminal, because it uses something of its own instead Windows Power Shell. And it worked - the first and only time. The project was created. But I was interested in solving the problem in VS Code, so I deleted the newly created project (without closing WebStorm - I don't know if it matters). And then I opened Windows Power Shell as administrator and changed policy with Set-ExecutionPolicy unrestricted. After that no attempt to execute shower create <name> leads to any discernible results. I tried to uninstall and reinstall the cli, to reboot the PC, to use shower create <name> in Power Shell itself – these did not help. I tried to do the same on another PC (also under Windows 10), but nothing worked there from the very beginning, even in WebStorm.

Try uppercase first letter in "unrestricted" in Set-ExecutionPolicy unrestricted.

I tried set "Restricted", then I installed shower, and shower create test showed me errors.

After that, I executed Set-ExecutionPolicy Unrestricted and shower create test worked fine

from cli.

pepelsbey avatar pepelsbey commented on July 26, 2024

@nikolay-govorov that was quick! Thank you :) Is it ready to be released right away?

from cli.

nikolay-govorov avatar nikolay-govorov commented on July 26, 2024

Hello. Thank you for the report and help in debugging the problem.

The fix will be is available in next version v0.3.1.

from cli.

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.