Open diragb opened 2 years ago
You can add these to package.json:
It works for me!
I'm getting this error on making those changes :(
Error: Unable to resolve module rn-placeholder from /home/expo/workingdir/build/screens/postDetail.js: rn-placeholder could not be found within the project or in these directories: node_modules If you are sure the module exists, try these steps:
28 | } from "rn-placeholder"; | ^ 29 | 30 | const PostDetail = (props) => { 31 | const tw = useTailwind();
WORKAROUND:
Add this to your dependencies
"rn-placeholder": "https://github.com/mfrachet/rn-placeholder.git#d3d413a9303bc0f131b4dc30b7a3647aaedbe973"
that hash fixed the problem, but it looks like it was never published to npm