Fran
Fran

Reputation: 89

Flutter create (OS Error: Access is denied. , errno = 5)

I am about create a new flutter project and suddenly flutter create command does not work.

This is the error even if I ran as administrator. (OS Error: Access is denied. , errno = 5)

I ran "flutter create UserApp" and this is the output

enter image description here

flutter doctor

Flutter doctor

Upvotes: 0

Views: 300

Answers (1)

Shri Hari L
Shri Hari L

Reputation: 4923

Run your command with administrator privileges.
enter image description here
Search the Command prompt and click on Run as administrator. Now run your command.

Tip: Instead of creating a project in Desktop or OS Drive, try creating a project in any other drives. In that case, there are fewer chances of getting permission error.

Upvotes: 1

Related Questions