'running npm install @nuxtjs/sentry doesn't work with node version v16.15.0

I recently switched my laptop and cloned my project which was already working fine on the other laptop, when I installed node js in new laptop with version v16.15.0 and tried running "npm install" in my nuxt project as you can see in screen shot below. and gives error while installing @nuxtjs/sentry ERROR IMAGE

also removing sentry package from package.json and nuxt.config.js and then running npm install to have all other dependencies works just fine.

And running "npm install @nuxtjs/sentry" gives the same error too.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source