Need help with adding data to IPFS in react native

Hello, everyone.
I am trying to add data to ipfs in react native, but nt working and there are some error.
code is below.

import {create} from "ipfs-http-client"

const postArticle = async () => {
		const entryPoint = '/ip4/127.0.0.1/tcp/5001' 
		const client = await create(entryPoint)

                const data = {
                              title:"title"
                              contents:"contents.."
                     }
                const contents = JSON.stringify(data)
		const cid = await client.add(contents)
	}

when I execute app, there are erroe like this.

Android Bundling JavaScript [============================================================== ] 98%Error: ENOENT: no such file or directory, open 'internal/validators.js'
    at Object.openSync (fs.js:498:3)
    at Object.readFileSync (fs.js:394:35)
.......

can you help me please?
thank you