In order to learn PHP, in the process of creating a local development environment, when I was typing code in the Power shell, when I restarted, all the written contents disappeared and I retyped it like this I got an error and I couldn't move on.
mkdir: An item with the specified name C: \ Windows \ system32 \ MyVagrant already exists.
Occurrence line: 1 character: 1
+ mkdir MyVagrant
~ ~ ~
+ CategoryInfo: ResourceExists: (C: \ Windows \ system32 \ MyVagrant: String) [New-Item], IOException
+ FullyQualifiedErrorId: DirectoryExist, Microsoft.PowerShell.Commands.NewItemCommand
Does this mean that there is still data on the power shell that was last entered? I thought, I looked for various files, but I do not understand well, google on the net and create a new file? I saw a site that looked like this, but I couldn't understand what was written by my knowledge, so I asked a question on this site
Answer # 1
The content of the error is "mkdir: The specified name C: \ Windows \ system32 \ MyVagrant item already exists" is output, and the first "mkdir" is a command to create a directory.
So I tried to create a "C: \ Windows \ system32 \ MyVagrant" directory with the "mkdir" command, but it already exists! That means ...
I think the following procedure is a good solution.
Rename the directory "C: \ Windows \ system32 \ MyVagrant" (eg "MyVagrant-old")
Restart your PC.
Run the Power Shell code again.
When the error disappears, delete the directory "MyVagrant-old".
If you don't fix it, you should check the contents of the running Power Shell code.
- windows - the error "the adb binary found at ~ adbexe is obsolete" cannot be resolved
- windows - the error "your gpu driver information ~" is displayed, but the corresponding driver is not available
- about the error when executing the initial setting of windows server 2019 with ansible
- windows - i want to eliminate a bash syntax error
- i want to know how to display a file open error in the perl error log on windows server
- how to resolve python exe for windows, run-time error, could not be extracted
- when i start windows terminal, i get an error message i also want to make ubuntu 1804 lts the default
- windows - i try to install the os via network boot, but i get an error while getting the ip address
- python - error in cython pxy import (windows) is the space in the file path a problem?
- windows - application error on heroku
- php - coincheck api authentication doesn't work
- php - i would like to introduce the coincheck api so that i can make payments with bitcoin on my ec site
- [php] i want to get account information using coincheck api
- python - you may need to restart the kernel to use updated packages error
- the emulator process for avd pixel_2_api_29 was killed occurred when the android studio emulator was started, so i would like to
- python 3x - typeerror: 'method' object is not subscriptable
- xcode - pod install [!] no `podfile 'found in the project directory
- vuejs - [vuetify] unable to locate target [data-app] i want to unit test to avoid warning
- i want to call a child component method from a parent in vuejs