danmactough/node-feedparser

react-native: Unable to resolve module `util`

BAE86AEC1946B6AB60CCD7452DC811F0 opened this issue · 1 comments

image

error message:

"Unable to resolve module `util` from `node_modules\\feedparser\\lib\\feedparser\\index.js`: util could not be found within the project.

This library is written for node. If you want to use it with react-native, you'll need to figure out how to make node core modules (like util) available, but that's outside the scope of this project. Maybe this link will help: https://hackernoon.com/using-core-node-js-modules-in-react-native-apps-64acd4d07140