Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update index.webc with more detailed guidance #1746

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Wu-Lipeng
Copy link

At the 4th step of the document, the out-file command in windows is Power Shell specific. But Power Shell has a default execution policy to restrict the running of JavaScript, which would cause an error when running Eleventy in the next step. If a solution can be provided here(use a command to set the execution policy), the whole experience of trying running Eleventy would be smoother and more beginner-friendly.

At the 4th step of the document, the  out-file command in windows is Power Shell specific. But Power Shell has a default execution policy to restrict the running of JavaScript, which would cause an error when running Eleventy in the next step.
If a solution can be provided here(use a command to set the execution policy), the whole experience of trying running Eleventy would be smoother and more beginner-friendly.
@zachleat
Copy link
Member

zachleat commented Jan 7, 2025

Hm? This has not been my experience—can you be more specific? Does the cross-platform npx @11ty/create method require this or just the out-file command?

@Wu-Lipeng
Copy link
Author

Just the out-file command, I think . When running the out-file command, you are using Power Shell. And you have to change the default execution policy to ensure that the following steps can work. (That's what I've added in the commit)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants