Why laravel build didnt works? - linux

I installed docker and set wsl 2 but idk why "laravel.build"
isn't work's when i press enter i got empty result in command line.
See screenshoot here

Related

Error CMD must be involved in the root of workplace

Hello I am using Ubuntu version 20.04 NOT WINDOWS
I want to run the comments given in this GitHub: https://github.com/radar-lab/ti_mmwave_rospkg
In cmd, I want to run codes from step 3-8, I am stuck in step four as it gives this error:enter image description here
I am successfully able to run step- 3 but step 4 gives this error. please tell me why it is giving this error

When I try to execute 'npx create-next-app', the installation never ends

I'm trying to create a new NextJS app, but the command npx create-next-app <name> never ends. It installs a few files along the way (including node_modules/), then after a while, among all the great lines that a CMD shows, it displays an installation line that never ends. When I try to cancel the installation, I must restart my PC completely.
Note: the last line is always beginning with "reify:something: timing ... Completed in Xms"
My problem
I've tried to reinstall NodeJS, It did not change a single thing.
I've tried to delete the cache, nothing changed.
I have used npm in the past and it always worked fine, I have absolutely no idea why it doesn't work now.
Please help me, I don't know what to do, except to throw my PC out the window.
I'm on Windows 10, using npm 7.24.1 with node v14.17.6
Finally, I fixed my problem thanks to Marcel Herd: I installed WSL 2 and from now on I'll use Ubuntu on Windows to execute npm commands.
However, I have still no idea why I had to do such a thing...
Thank you
If you are interested, here are links that helped me:
https://learn.microsoft.com/en-us/windows/wsl/install
https://learn.microsoft.com/en-us/windows/wsl/setup/environment
https://learn.microsoft.com/fr-fr/windows/dev-environment/javascript/nodejs-on-wsl

Unable to launch VSCode in WSL

I have wsl (1) installed and set to automatically run with bash. I'm not sure what changed, but suddenly I'm unable to open vscode from the bash terminal. when I run "code" or "code ." I don't get an error or anything, vscode just never opens. I've even tried running "code" from the actual directory where it exists (/c/Users/USERNAME/AppData/Local/Programs/Microsoft VS Code/bin/code). I'm at a total loss here.

Yeoman generator works except on Windows 10 with Node 10

I have a generator that works on Ubuntu, Mac, and Windows 10 with Node 8.
It also (reportedly) runs on Win10 with Node 10 when run on either mintty.exe or Git bash from the git package (https://git-scm.com/download/win).
However it hangs when run on Win10 with Node 10 on either PowerShell or command.exe.
The "prompting" method runs fine and the "this.prompt" promise resolves OK. The problem is the "writing" method" is never run.
You can see the problem by going to an empty folder and running
npm i -g #feathers-plus/cli
set DEBUG=gen*
feathers-plus generate app
and pressing Enter on all the prompts.
You can see https://github.com/feathers-plus/generator-feathers-plus/blob/master/generators/app/index.js#L173 is run, but not https://github.com/feathers-plus/generator-feathers-plus/blob/master/generators/app/index.js#L178 .
Before I start digging into the Yeoman source, has anyone run into something similar, does anyone have any thoughts on what the issue may be, any thoughts on how to proceed? Thanks in advance.

Git Bash for windows not working properly

I am having a very annoying issue with git bash for windows.
When first lauching git bash, everything works fine, but after I type in node -v to check the nodejs version, nothing is returned and every subsequent text I type in is not displayed (although when pressing enter these commands' outputs get displayed).
In the image below I ran the commands in this order:
- node -v (no output)
- npm -v (no input displayed)
- git --version (no input displayed)
Image showing the problem
Everything started with a SIGFAULT error when running any node or npm command. After unninstalling git for windows and installing again, it is working like this.
But, when I use the bash as a attached terminal for vscode, I get these errors in every command I run:
Attached terminal throwing Segmentation fault error
How can I solve it?

Resources