React Native Sqlite给出“这些文件都不存在“ node_modules \ react-native-native-sqlite-stareage \ lib \ sqlite.core.js”
嗨,我在声明和使用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
已经尝试过了吗?
补丁
tried this already?
patch a link