- In the Administrator elevated command prompt, paste the following command to disable Microsoft Hyper V and press Enter:
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V
- Once the command runs successfully, close the elevated Command Prompt and restart your computer.
- At the next startup, open a Virtualbox machine again and see if you’re still getting the same error message.
Welcome to my Technology Hotspot
Wednesday, May 13, 2020
How to resolve VT-X is not available error in Oracle VM VirtualBox when tried to start a VM
Tuesday, May 5, 2020
Go lang debugger delve installation error on Mac OS: xcrun: error: invalid active developer path, missing xcrun
Today I installed Go lang on my macbook Pro and installed VS Code and the Go lang extension for it.
When I tried to Run the first hello.go program from the VSCode Run menu got a prompt that Delve which is the debugger extension for Go lang to be installed.
When I tried to install Delve got this strange error:
Mac OS: xcrun: error: invalid active developer path, missing xcrun
On looking up the internet found that running the below command on the terminal will solve the issue:
Install the Xcode toolkit! Even if you had it installed before, you might have to re-register it or update it to the latest version.
go get -V github.com/go-delve/delve/cmd/dlv command and all was well. Now I am able to neatly run the Go lang programs from the Run menu of VS Code editor.
Alternatively using the below commands was always working without installing Delve as well which is the default option for you to build & run the Go programs.
go build hello.go
./hello
Enjoy coding Go!!
When I tried to Run the first hello.go program from the VSCode Run menu got a prompt that Delve which is the debugger extension for Go lang to be installed.
When I tried to install Delve got this strange error:
Mac OS: xcrun: error: invalid active developer path, missing xcrun
On looking up the internet found that running the below command on the terminal will solve the issue:
Install the Xcode toolkit! Even if you had it installed before, you might have to re-register it or update it to the latest version.
$ xcode-select --install
If that doesn’t work, force it to reset. You’ll need
sudo access for this one.$ sudo xcode-select --reset
And voila, Delve got installed successfully using the go get -V github.com/go-delve/delve/cmd/dlv command and all was well. Now I am able to neatly run the Go lang programs from the Run menu of VS Code editor.
Alternatively using the below commands was always working without installing Delve as well which is the default option for you to build & run the Go programs.
go build hello.go
./hello
Enjoy coding Go!!
Subscribe to:
Comments (Atom)
Featured
TechBytes on Linux
This is a growing list of Linux commands which might come handy for the of Linux users. 1. Found out i had to set the date like this: ...
Popular Posts
-
This is a growing list of Linux commands which might come handy for the of Linux users. 1. Found out i had to set the date like this: ...
-
To set a PDF viewer as the default on Mac OS X: Select any PDF file from Finder. Control-click to open the menu. ... Choose Get...
-
ಮ್ಯಾಕ್ ಬುಕ್ ನಲ್ಲಿ ಕನ್ನಡ ದಲ್ಲಿ ಟೈಪ್ ಮಾಡಲು ಲಿಪಿಕ ಎನ್ನುವ ಈ ಕೆಳಗಿನ ಲಿಂಕ್ ಅನ್ನು ಕ್ಲಿಕ್ ಮಾಡಿ .pkg ಫೈಲ್ ಅನ್ನು ಡೌನ್ ಲೋಡ್ ಮಾಡಿ ಅದನ್ನು ಇನ್ಸ್ತಾಲ್ ಮಾಡಿ...