Firstly, I should confess that it is not easy at all using expo with react native for building your project , after hours of trying generating my APK , finally, I got my APK , but the link given is not working , saying :
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>6FEF3FBBB0457899</RequestId>
<HostId>
any idea?
Related
After rebuilding with React Native 0.70.1/react-native-code-push 7.05 project/Xcode 14/Monterey , npx react-native run-ios launch successfully without any error but the console screen throws error:
[CodePush] An unknown error occurred.
LOG [CodePush] 400: {"status":400,"name":"Error","message":"Missing required query parameter \"deployment_key\""}
Then I create a new app in MS appcenter for IOS and replaced the app secret with the new one just created in AppCenter-Config.plist in Xcode. But the error is the same. Before rebuilding the app, I verify that the latest react native code push 7.0.5 works with the release of React Native 0.70.
The app build in Xcode 14 went successfully. What is missing with the appcenter or app config?
In my case, I got this error because I forgot to set the CodePushDeploymentKey inInfo.plist :)
Now that I have a configuration-specific CODEPUSH_KEY in build settings, and have set the CodePushDeploymentKey to $(CODEPUSH_KEY) in Info.plist, it works!
I have created a custom component with ojet, but when I have tried to build it, I got an error: "Error: Invalid platform component"
How have i do it:
I have used the Oracle JET version: 5.2.0
I have created a new web application (proba3): "ojet create proba3 --template=navdrawer:web"
I'v got: "Your app is ready! Change to your new app directory 'proba3' and try 'ojet build' and 'ojet serve'"
"cd proba3"
" ojet serve"
The web page shows up in the browser as I expected.
I have created a new component (zizi-table): "ojet create component zizi-table"
I'v got: "Add component zizi-table finished."
I have have tried to build the new component: "ojet build component zizi-table"
I'v got: "Error: Invalid platform component"
What is the problem?
Any suggestions?
Thanks.
Finally I changed version 6.1.0, and this issue has ceased. This version works well.
When I try to use my app from PhoneGap Build, it seems to be missing images. When I check in the Chrome web inspector, it's also missing script files. Here are the errors:
cordova.js:314 Uncaught Error: NOT_FOUND_ERR
at fileService.js:77
at fail (FileEntry.js:88)
at Object.callbackFromNative (cordova.js:295)
at <anonymous>:1:9
cordova.js:312 Error in Error callbackId: File410316782 : Error: NOT_FOUND_ERR
cordova.js:314 Uncaught Error: NOT_FOUND_ERR
at fileService.js:77
at fail (FileEntry.js:88)
at Object.callbackFromNative (cordova.js:295)
at <anonymous>:1:9
.png:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
I know I didn't fail to include this file, because it was working before.
Most issues like this, as well as "Upload Error [2]", can be solved in PhoneGap Build by deleting the app and re-uploading. Don't worry about losing anything, since all of your settings are in your config files. It seems that PhoneGap has a tendency to inadvertently retain or misplace files.
I tend to just delete my app and re-upload every time I need to run a build, so I don't have to waste time installing and opening the app, only to find out it's missing files.
I'm trying to run the getting started example in windows for android but after running
react-native run-android
I get the following error:
TypeError: Object doesn't support property or method 'isNative'
at CallSiteToString (X:\code\react_native\AwesomeProject\node_modules\source-map-support\source-map-support.js:195:3)
at Anonymous function (X:\code\react_native\AwesomeProject\node_modules\source-map-support\source-map-support.js:304:5)
at Array.prototype.map (native code)
at prepareStackTrace (X:\code\react_native\AwesomeProject\node_modules\source-map-support\source-map-support.js:303:3)
at stackGetter (Unknown script code:208:9)
at socketErrorListener (_http_client.js:303:3)
at emitOne (events.js:96:5)
at emit (events.js:188:7)
at emitErrorNT (net.js:1265:3)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
maybe you have a problem with your code ! what is 'isNative' in your code ?
it's better to to copy your code and paste it here.
Figured it out. In case anyone else faces this problem it seems I had both a regular node installation and a node (chakra) installation and the chakra one was causing problems with react-native. After uninstalling node(chakra), react-native runs fine.
I'm trying to create a new app with Meteor (this is the first time I've used it on this computer).
When I try and start a new app:
meteor create simple-todos
I'm getting the following error and creating the app fails:
{ [Error: SQLITE_CANTOPEN: unable to open database file]
stack: [Getter] }
And below that I get some other errors:
Error: SQLITE_CANTOPEN: unable to open database file
at Object.Future.wait (/Users/Jack/.meteor/packages/meteor-tool/.1.1.4.2l3p0l++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:398:15)
I can't find other people having this same issue, so I'm a bit in the dark as to how to debug or fix. Pointers as to how to debug / fix this would be really helpful.
It may be a permission error.
In order to fix this issue, you could try to adjust the permission by running this command:
sudo chown -R $USER ~/.meteor