You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
在把pages包里面的js文件拷过去之后,又安装了react-native-sqlite-storage 之后运行了好多次一直出现Cannot read property 'open' of undefined问题
还有这个提示{
[intellij] [Warning] Couldn't import script at http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false. Debugging won't work: Try reloading the JS from inside the app, or Reconnect the debugger: {"type":"TransformError","message":"SyntaxError D:/React-Native_workspace/MyCalendarDemo/pages/mainAndroid.js: Only one default export allowed per module. (565:0)","snippet":"\u001b[0m \u001b[90m 563 | \u001b[39m }\n \u001b[90m 564 | \u001b[39m})\u001b[33m;\u001b[39m\n\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 565 | \u001b[39m\u001b[36mexport\u001b[39m \u001b[36mdefault\u001b[39m main\u001b[33m;\u001b[39m\n \u001b[90m | \u001b[39m\u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m","lineNumber":565,"column":0,"filename":"D:\React-Native_workspace\MyCalendarDemo\pages\mainAndroid.js","description":"D:/React-Native_workspace/MyCalendarDemo/pages/mainAndroid.js: Only one default export allowed per module. (565:0)","errors":[{"description":"D:/React-Native_workspace/MyCalendarDemo/pages/mainAndroid.js: Only one default export allowed per module. (565:0)","filename":"D:\React-Native_workspace\MyCalendarDemo\pages\mainAndroid.js","lineNumber":565}]}
}
The text was updated successfully, but these errors were encountered:
在把pages包里面的js文件拷过去之后,又安装了react-native-sqlite-storage 之后运行了好多次一直出现Cannot read property 'open' of undefined问题
还有这个提示{
[intellij] [Warning] Couldn't import script at http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false. Debugging won't work: Try reloading the JS from inside the app, or Reconnect the debugger: {"type":"TransformError","message":"SyntaxError D:/React-Native_workspace/MyCalendarDemo/pages/mainAndroid.js: Only one default export allowed per module. (565:0)","snippet":"\u001b[0m \u001b[90m 563 | \u001b[39m }\n \u001b[90m 564 | \u001b[39m})\u001b[33m;\u001b[39m\n\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 565 | \u001b[39m\u001b[36mexport\u001b[39m \u001b[36mdefault\u001b[39m main\u001b[33m;\u001b[39m\n \u001b[90m | \u001b[39m\u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m","lineNumber":565,"column":0,"filename":"D:\React-Native_workspace\MyCalendarDemo\pages\mainAndroid.js","description":"D:/React-Native_workspace/MyCalendarDemo/pages/mainAndroid.js: Only one default export allowed per module. (565:0)","errors":[{"description":"D:/React-Native_workspace/MyCalendarDemo/pages/mainAndroid.js: Only one default export allowed per module. (565:0)","filename":"D:\React-Native_workspace\MyCalendarDemo\pages\mainAndroid.js","lineNumber":565}]}
}
The text was updated successfully, but these errors were encountered: