-
-
Notifications
You must be signed in to change notification settings - Fork 198
Description
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
- CLI: 5.0.0
- Cross-platform modules: 5.0.2
- Android Runtime: 5.0.0
- iOS Runtime: 5.0.0
- Plugin(s):
Describe the bug
After running command tns preview --bundle and scanning the QR code from playground , the application is not loading. Getting below error in command prompt
Successfully synced changes for platform android.
Error: PubNub call failed, check status for details
at new PubNubError (C:\Users\apande72\AppData\Roaming\npm\node_modules\nativ
escript\node_modules\pubnub\lib\core\components\core\components\endpoint.js:8:31
)
at onResponse (C:\Users\apande72\AppData\Roaming\npm\node_modules\nativescri
pt\node_modules\pubnub\lib\core\components\core\components\endpoint.js:126:32)
at (C:\Users\apande72\AppData\Roaming\npm\node_modules\nativescr
ipt\node_modules\pubnub\lib\networking\modules\networking\modules\web-node.js:59
:17)
at Request.callback (C:\Users\apande72\AppData\Roaming\npm\node_modules\nati
vescript\node_modules\superagent\lib\node\index.js:728:3)
at RequestBase._timeoutError (C:\Users\apande72\AppData\Roaming\npm\node_mod
ules\nativescript\node_modules\superagent\lib\request-base.js:676:8)
at Timeout. (C:\Users\apande72\AppData\Roaming\npm\node_modules\n
ativescript\node_modules\superagent\lib\request-base.js:685:12)
at ontimeout (timers.js:482:11)
at tryOnTimeout (timers.js:317:5)
at Timer.listOnTimeout (timers.js:277:5)
Error: PubNub call failed, check status for details
at new PubNubError (C:\Users\apande72\AppData\Roaming\npm\node_modules\nativ
escript\node_modules\pubnub\lib\core\components\core\components\endpoint.js:8:31
)
at onResponse (C:\Users\apande72\AppData\Roaming\npm\node_modules\nativescri
pt\node_modules\pubnub\lib\core\components\core\components\endpoint.js:126:32)
at (C:\Users\apande72\AppData\Roaming\npm\node_modules\nativescr
ipt\node_modules\pubnub\lib\networking\modules\networking\modules\web-node.js:59
:17)
at Request.callback (C:\Users\apande72\AppData\Roaming\npm\node_modules\nati
vescript\node_modules\superagent\lib\node\index.js:728:3)
at RequestBase._timeoutError (C:\Users\apande72\AppData\Roaming\npm\node_mod
ules\nativescript\node_modules\superagent\lib\request-base.js:676:8)
at Timeout. (C:\Users\apande72\AppData\Roaming\npm\node_modules\n
ativescript\node_modules\superagent\lib\request-base.js:685:12)
at ontimeout (timers.js:482:11)
at tryOnTimeout (timers.js:317:5)
at Timer.listOnTimeout (timers.js:277:5)
To Reproduce
- Run tns preview --bundle
- Scan QR code from playground app
- app is not loading in mobile and getting above error on cmd