Error while installing [email protected] via subprocess

I am getting continues issue while installing appium on server via code. But while running same syntex directly on terminal works fine. Command used
‘npm install --global --verbose --no-audit --unsafe-perm=true --allow-root [email protected]

1 Like

Can you try this command

npm install -g --force appium

I was using npm version 8. When I upgraded to npm version 10.2.4, the issue was resolved.