Moon

Results 10 comments of Moon

Edit node_modules/react-native-qrcode/lib/Canvas.js ``` var { View, WebView, Platform } = require('react-native'); ``` To ``` import { WebView } from "react-native-webview"; var { View, // WebView, Platform } = require('react-native'); ```

Edit node_modules/react-native-qrcode/lib/Canvas.js ``` var { View, WebView, Platform } = require('react-native'); ``` To ``` import { WebView } from "react-native-webview"; var { View, // WebView, Platform } = require('react-native'); ```

``` kubectl.command('get pod pod_name --output=json', function(err, data){}) kubectl.command('get pod pod_name --output=json').then() const data = await kubectl.command('get pod pod_name --output=json') //try this kubectl.command('uncordon') ```

I do not understand. you want to this? ``` var res = kubeapi.watch('watch/namespaces/default/pods', function(data){ if( true ){ res.emit('close') callback(null. data) } }, function(err){ // if use res.emit('close') . err is...

which the version of k8s module?

you code will run success callback twice. because res.emit('close') will execute error callback. ``` function(err) { if (err) { // timeout or other error console.log(`Error while waiting for deployment of...

this is my test code . It works. error callback call only once ``` var res = kubeapi.watch('watch/namespaces/default/pods', function(data){ }, function(err){ console.log(err) }, 20000) setTimeout(function() { console.log('close') res.emit('close') }, 10000);...

If you do not use unittest run it, I believe it will exit immediately test.js ``` const K8s = require('k8s') const kubeapi = K8s.api({ endpoint: 'https://192.168.99.101:8443', version: '/api/v1', auth: {...

I used in 4.26 and got the error ``` The following modules are missing or built with a different engine version: V8 JavascriptUMG JavascriptHttp JavascriptGraphEditor JavascriptEditor JavascriptConsole Would you like...

Deleting the Plugins folder project worked I think I need to change my operating system