I am using the terminal from Laragon main window. This is the screenshot for the npm error.
And this is the location of the npm package.
When I use the other terminal (not Laragon), there is no error because the terminal use other npm I installed from the official website (the location of npm is different).
As for the composer problem, I already install the ones from the official website so there is no error anymore (i dont want to uninstall it right now, maybe later, to provide the screenshot).