Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6287

Twitter-API-V2 Typescript Module issues

$
0
0

I'm working on a React-Native Expo project looking to scrape Twitter profiles from usernames.

I get the following errors:

Unable to resolve module crypto from /Users/mollycantillon/union/union/node_modules/twitter-api-sdk/dist/OAuth2User.js: crypto could not be found within the project or in these directories:

Unable to resolve module events from /Users/mollycantillon/union/union/node_modules/twitter-api-v2/dist/stream/TweetStream.js: events could not be found within the project or in these directories:

and more with https, ids ....

I've tried npm i, rm -rf node_modules, clearing cache hundreds of times. Always an issue with a module, even after running npm i -g or npm i --save-dev for every single one of these packages.

Not sure if twitter-api-v2 is deprecated, its an issue with firebase or some other typescript issue?


Viewing all articles
Browse latest Browse all 6287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>