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

Unable to start a new project #2639

Open
Fettenderi opened this issue Sep 16, 2024 · 3 comments
Open

Unable to start a new project #2639

Fettenderi opened this issue Sep 16, 2024 · 3 comments
Labels
Need Windows help We need someone using Windows to help us with this issue

Comments

@Fettenderi
Copy link

Fettenderi commented Sep 16, 2024

Bug Report

Environment

Windows 11
Zola version: 0.19.2

Expected Behavior

Should build all the project directories.

Current Behavior

When I try to build a new project this happens:
PS F:\RobaNerd\Zola> zola init fettenderiblog Welcome to Zola! Please answer a few questions to get started quickly. Any choices made can be changed by modifying the config.toml` file later.

What is the URL of your site? (https://example.com): https://fettenderiblog.com
Do you want to enable Sass compilation? [Y/n]: n
Do you want to enable syntax highlighting? [y/N]: y
Do you want to build a search index of the content? [y/N]: n
Error: Failed to create the project
Error: Impossibile trovare il file specificato. (os error 2)`

Same behaviour with -f:
PS F:\RobaNerd\Zola> zola init -f fettenderiblog Welcome to Zola! Please answer a few questions to get started quickly. Any choices made can be changed by modifying the config.toml` file later.

What is the URL of your site? (https://example.com): https://fettenderiblog.com
Do you want to enable Sass compilation? [Y/n]: n
Do you want to enable syntax highlighting? [y/N]: y
Do you want to build a search index of the content? [y/N]: n
Error: Failed to create the project
Error: Impossibile trovare il file specificato. (os error 2)`

Step to reproduce

Download zola using winget or using the pre-built binary on the repo, try to start a new project using zola init

@Fettenderi
Copy link
Author

I also tried creating the folder myself and now the error is:

PS F:\RobaNerd\Zola> zola init fettenderi Welcome to Zola! Please answer a few questions to get started quickly. Any choices made can be changed by modifying the config.toml` file later.

What is the URL of your site? (https://example.com): https://fettenderi.com
Do you want to enable Sass compilation? [Y/n]: n
Do you want to enable syntax highlighting? [y/N]: y
Do you want to build a search index of the content? [y/N]: n
Error: Failed to create the project
Error: Accesso negato. (os error 5)`

I'm using Windows Powershell to execute these commands

@Keats Keats added the Need Windows help We need someone using Windows to help us with this issue label Sep 18, 2024
@Keats
Copy link
Collaborator

Keats commented Sep 18, 2024

You have write permissions to that folder right?

@Fettenderi
Copy link
Author

I'm the administrator. I also discovered that it's not a zola only error, my console doesn't want create any folder in the F: directories. I don't know how to solve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Need Windows help We need someone using Windows to help us with this issue
Projects
None yet
Development

No branches or pull requests

2 participants