React Native Sqlite给出“这些文件都不存在“ node_modules \ react-native-native-sqlite-stareage \ lib \ sqlite.core.js”

发布于 2025-02-13 02:01:21 字数 447 浏览 1 评论 0原文

嗨,我在声明和使用sqlite时在app.tsx中有错误。

我已经导入了Rigth,并且正在使用Tutoriols,但是它给出了

“ Node_modules \ React-Native-native-sqlite-Storage \ lib \ lib \ sqlite.core.js”错误。

我对本机版本0.69.1进行了反应,

此处的声明和在app.tsx中使用了

import SQLite from 'react-native-sqlite-storage'

const db=SQLite.openDatabase({
  location:"default",
  name:"SQLitedb",
},()=>{console.log('basarili')},(err)=>{console.log(err)})

所有帮助。

Hi I have an error in App.tsx while I declare and using SQLite.

I have imported rigth and I am going on tutoriols but it gives

"node_modules\react-native-sqlite-storage\lib\sqlite.core.js" error.

I have react native version 0.69.1

here the declaretion and using in App.tsx

import SQLite from 'react-native-sqlite-storage'

const db=SQLite.openDatabase({
  location:"default",
  name:"SQLitedb",
},()=>{console.log('basarili')},(err)=>{console.log(err)})

thanks for all helps.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

淡忘如思 2025-02-20 02:01:21

已经尝试过了吗?

补丁

tried this already?

patch a link

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文