Я работаю над проектом React-Native Expo, который хочет очистить профили Twitter от имен пользователей.
Я получаю следующие ошибки:
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:
и многое другое с https, id ….
Я пробовал npm i, rm -rf node_modules, очищая кеш сотни раз. Всегда проблема с модулем, даже после запуска npm i -g или npm i –save-dev для каждого из этих пакетов.
Не уверен, что twitter-api-v2 устарел, это проблема с firebase или какая-то другая проблема с машинописным текстом?