I got this error when trying to build my react native app after doing installs of node and npm. My machine was running nodejs v17(currently latest) and this was the issue.
The solution is to uninstall nodejs, then download and install a lower version and for my case i installed nodejs v16.13.0 which solved the error.
Hope this helps you,
Happy coding
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)