Closed tamnvt closed 8 years ago
I worked around by this: var SocketIO = require('nativescript-socketio').SocketIO; it works ! But in my class, I can define property type by: private socketInstance: SocketIO Error from VSCode notification: [ts] Cannot find name 'SocketIO'
npm run demo.android from root works for me
@tamnvt upgrade your plugin to version 2.0.0
I am also having this issue. I have updated plugin version to 2.0.0
the app starts and gets to the login screen however when I press join nothing happens. I can't see any other errors apart from the one mentioned above.
The server logs
Joined Namespace: / User Connected Joined Namespace: /chat
@jwhits i need to update the demo and the docs :sweat_smile:
Well that would explain it @triniwiz :)
Closing this since https://github.com/triniwiz/nativescript-socketio/commit/6b1e186a9a44ac5b806bf1f182fe739df50137c4 included a fix for typings so no more Cannot find module 'nativescript-socketio'
also @jwhits the demo has been updated
Hi triniwiz, I can not run the demo with cloned source code. Steps:
I also encounter this issue with my project using nativescript-socketio npm. Please help me to resolve it. Many thanks