The package at "node_modules/particle-api-js/lib/EventStream.js"
attempted to import the Node standard library module "url".
It failed because React Native does not include the Node standard library.
Read more at https://docs.expo.io/versions/latest/introduction/faq/#can-i-use-nodejs-packages-with-expo
Maybe I’m reading this wrong but in the link to the expo docs it says
As a side note, some Node standard library APIs do not depend on C++ extensions but instead can be implemented directly in JavaScript, such as url and assert. If a package you wish to use only depends on these Node APIs, you can install them from npm and the package will work.
It is complaining about ‘url’ but the docs say that it should work.
The package at "node_modules/got/dist/source/as-promise/index.js" attempted to import the Node standard library module "events". It failed because the native React runtime does not include the Node standard library. Read more at https://docs.expo.io/workflow/using-libraries/#using-third-party-libraries
undefined Unable to resolve module `events` from `node_modules/got/dist/source/as-promise/index.js`: events could not be found within the project.
I think you’re out of luck with events. Maybe see if Ky works for you?