My Diary.
to Share my Life Events

root does not have permission to access the dev dir

sudo npm install --unsafe-perm --verbose -g sails

Admin Admin Author

React Native Admob plugin error

NewImage

 

 

 

 

Javascript error..Invariant Violation: View config not found for name RNGADBannerView
This error is located at:    in RNGADBannerView (at RNAdMobBanner.js:51)    in AdMobBanner (at App.js:33)    in RCTView (at View.js:60)    in View (at App.js:23)    in codetrAdmob (at registerRootComponent.js:35)    in RootErrorBoundary (at registerRootComponent.js:34)    in ExpoRootComponent (at renderApplication.js:33)    in RCTView (at View.js:60)    in View (at AppContainer.js:102)    in RCTView (at View.js:60)    in View (at AppContainer.js:122)    in AppContainer (at renderApplication.js:32)

Admin Admin Author

Try your react native apps with expo


NewImage

Your app is now running at URL: exp://192.168.0.112:19000

 

View your app with live reloading:

 

  Android device:

    -> Point the Expo app to the QR code above.

       (You'll find the QR scanner on the Projects tab of the app.)

  iOS device:

    -> Press s to email/text the app URL to your phone.

  Emulator:

    -> Press a (Android) or i (iOS) to start an emulator.

 

Your phone will need to be on the same local network as this computer.

For links to install the Expo app, please visit https://expo.io.

 

Logs from serving your app will appear here. Press Ctrl+C at any time to stop.




or to run on device type

react-native run-iosreact-native run-ios

Admin Admin Author

Upgrade node.js and npm

NewImage



If you got the following error..

mERR! Failed at the mytest@0.1.0 start script 'react-native-scripts start'.

npmERR! Make sure you have the latest version of node.js and npm installed.

npmERR! If you do, this is most likely a problem with the mytest package,

npmERR! not with npm itself.



NPM error while start the react native apps.

brew update
brew upgrade node
npm install -g npm


Or download the latest version here https://nodejs.org/en/download/


You can also nstall watchman or type in the following code:
sudo sysctl -w kern.maxfiles=5242880sudo sysctl -w kern.maxfilesperproc=524288

Admin Admin Author

Create first react native app from command line

NewImage

 

1. npm install -g create-react-native-app

2. create-react-native-app my-app

3. cd my-app/

4. npm start

Admin Admin Author

Updating sites with new tutorials

NewImage

Hi guys, I am going to share you with my Oracle PL/SQL tutorial at my new sites. Its still under construction. I hope you like the contents and give me the feedback so that we can share knowledge together.

 

 

Admin Admin Author