# Need help with adding data to IPFS in react native

**URL:** <https://discuss.ipfs.tech/t/need-help-with-adding-data-to-ipfs-in-react-native/12779>\
**Category:** Help\
**Created:** [November 29, 2021, 2:38pm UTC](https://discuss.ipfs.tech/t/need-help-with-adding-data-to-ipfs-in-react-native/12779 "2021-11-29T14:38:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![muhammad3132002](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/muhammad3132002/32/5718_2.png) [@muhammad3132002](https://discuss.ipfs.tech/u/muhammad3132002)\
**Post date:** [November 29, 2021, 2:38pm UTC](https://discuss.ipfs.tech/t/need-help-with-adding-data-to-ipfs-in-react-native/12779/1 "2021-11-29T14:38:15Z")

</div>

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

```auto
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.

```auto
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
