Issues running Poetry in Powershell on Windows 11 - julian-date

After installing Poetry using the required link in powershell, I can't seem to run poetry. I've tried searching for file path of the installation but can't find it; the only trace I can find is a file called poetry installation error. However if I try installing poetry again, it says I already have poetry installed. Pls I need help to resolve this, thanks.
I added the python38 file path to my Env path with the hopes of resolving this, but that didn't help

Related

~/AppData/Local/nvim/init.vim doesn't exist

I am trying to install a config for Neovim and one of the installation steps requires that I install to ~/AppData/Local/nvim/init.vim. However, I don't see a nvim folder in /AppData/Local, only nvim-data. Anyone know why and how to fix? I installed Neovim with scoop by the way.

Windows neovim vim-plug error: `git` executable not found

I have already installed vimplug I can open the file but has no effect on Neovim 1
The error says that your plugin manager (vim-plug) isn't able to run the git executable. It needs to do this to fetch the plugins you're trying to load. So install git, make sure you can run it from your PowerShell command line, and you should be set.

Bad CMake executable "". Is it installed or settings contain the correct path (cmake.cmakePath)? - Pixhawk 4 Development

I want to complete the setup in Visual Studio Code for Pixhawk 4 development. So I followed the steps given in this documentation below. I also installed the Cygwin Toolchain previously.
https://dev.px4.io/master/en/setup/vscode.html
After opening the Firmware folder in vsc, I installed all recommended extensions. Then I selected the kit and clicked on build using the blue bar in the bottom to configure the project. Right after that, I got this error:
Bad CMake executable "". Is it installed or settings contain the correct path (cmake.cmakePath)?
What might be causing the problem? I am a beginner so if anything is unclear about the question please ask me for it. Thanks for all the help.
There is an issue with the path having a space in it apparently. Lots of people have run into this, but it has yet to be fixed (I just hit it myself earlier today). The "solution" (read: workaround...because Microsoft... 🙄) is to reinstall Cmake in a different directory (one with no spaces, obviously 😉), and to ensure that it is in your system path.
See this Github issue for extensive troubleshooting/discussion.
I had the same problem when I updated VSCode. In the project setting I put the full path of Cmake like:
"cmake.cmakePath": "/usr/local/bin/cmake"
And it worked.
I had the same problem and could solve it by (re)installing cmake:
sudo apt install cmake
If gcc is not installed, you need to install gcc first and then install cmake.
install gcc
sudo apt install build-essential
Download CMake from https://cmake.org/download/
Install CMake
$ ./bootstrap
$ make
$ make install
After this step try again and it should work.

Struggling with code runner install for vscode

I installed code runner and tried to run console.log("hello") but I keep getting the following error.
bash: node: command not found
I went into the settings and set up the JavaScript like this:
Still no luck
is there a file I need in my working directory?
Installing nodeJS was required and problem solved. I didn't see it mentioned in the extension instructions.

Working on VS Code and after making a JS file I keep getting these two errors about TypeScript and jsHint

So I saved an external JS file for a project I was working on. And when I did that at the top of my editor I got this error:
2.[jshint] Failed to load jshint library. Please install jshint in your workspace folder using 'npm install jshint' or globally using 'npm install -g jshint' and then press Retry.
What exactly am I supposed to do to fix these errors? I've seen other people post this issue but I don't understand the solutions that people have been giving them. Can anyone walk me through fixing these two issues in plain, easy to understand English?
The first error means that vscode can not find an install of npm. We use npm to install files that power IntelliSense for external modules such as express.
To fix it:
Install node/npm if you have not already: https://nodejs.org/en/download/
Restart VS Code
If you still see this warning message after doing this, take a look at the docs on this. The workaround is to set "typescript.npm" to point to where npm is installed on your computer, for example:
"typescript.npm": "/Users/matb/.nvm/versions/node/v8.9.1/bin/npm"
The second error means that vscode cannot find a copy of the jshint library. As the error messages says, the fix is to use npm to install a copy of jshint in your workspace. From a commandline in your workspace, run:
npm install jshint
For all your workspaces (globally)
npm install -g jshint