Comments (5)
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.
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.
from cli.
It's the same for me. I installed the package with
npm install --global @shower/cli
. Then I tried to executeshower 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 withSet-ExecutionPolicy unrestricted
. After that no attempt to executeshower create <name>
leads to any discernible results. I tried to uninstall and reinstall the cli, to reboot the PC, to useshower 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.
@nikolay-govorov that was quick! Thank you :) Is it ready to be released right away?
from cli.
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)
- Add flag `--yes` from `create` task, which will select all default parameters HOT 2
- Make the key `--cwd` to pass the directory in which the CLI is running
- Add the ability to publish a presentation on Netlify
- Add the ability to publish a presentation on FTP
- Move a project template in a separate repository
- Add options from `create` task
- To describe the interface for tasks in the documentation
- Add acceptance tests for all tasks.
- To configure publishing new versions of the package through CI
- Option not to install CLI locally — use globally installed HOT 9
- Add autocompletion for bash
- Do not add to `prepared` archive and PDF presentation
- If shower is not installed globally, the presentation will not be created
- Add the lang option HOT 4
- $ shower create unable to create
- Replace .npmignore with files key in package.json
- Use theme’s built-in index.html page as a starting point
- Run commands directly for easy automatisation HOT 3
- Add e2e tests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.