I found the solution to this for me The library
"@types/react-native": "^0.73.0"
in my packager which is deprecated is what caused the error. The newer version of react native has this library built in. It looks like in mid october there was a change in npm that maybe related because this is around the time i had this issue
https://www.npmjs.com/package/@types/react-native
https://github.blog/changelog/2025-09-29-strengthening-npm-security-important-changes-to-authentication-and-token-management/