Can be verified on any platform using docker
Your error message says permission denied, npm global installs must be given root privileges.
Send
1
2