Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency nativescript-socket.io does not seem to work with nativescript-vue 2.0 #6

Closed
lafriks opened this issue Nov 1, 2018 · 2 comments · Fixed by #9
Closed

Comments

@lafriks
Copy link

lafriks commented Nov 1, 2018

Switching to nativescript-socketio did help me to get it compile and work. With nativescript-socket.io when building clean project from template with devtools enabled I get:

Failed to build plugin nativescript-socket.io :
Error: Command gradlew.bat failed with exit code 1 Error output:

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':lintClassPath'.
> Could not find lint-gradle-api.jar (com.android.tools.lint:lint-gradle-api:26.1.2).
  Searched in the following locations:
      https://jcenter.bintray.com/com/android/tools/lint/lint-gradle-api/26.1.2/lint-gradle-api-26.1.2.jar

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org
@rw355
Copy link

rw355 commented Nov 15, 2018

Somehow, nativescript-socket.io doesn't throw error for me. My package.json reads like:

  "dependencies": {
    "@vue/devtools": "5.0.0-beta.3",
    "nativescript-socket.io": "^0.9.0",
    "nativescript-theme-core": "^1.0.4",
    "nativescript-toast": "^1.4.6",
    "nativescript-vue": "^2.0.0",
    "nativescript-vue-devtools": "^1.0.0",
    "tns-core-modules": "^5.0.2",
    "vuex": "^3.0.1"
  },

But, I can't get this vue devtools successfully connected with vue-devtools electron app. Even tried switching to nativescript-socketio, it doesn't build connection. Issue logged here: #8

@lafriks
Copy link
Author

lafriks commented Feb 20, 2019

Just in case while PR #7 is not merged you can use in dependencies:

"nativescript-vue-devtools": "lafriks/nativescript-vue-devtools.git#7abd7f5ace105ab3ddc999a8cb6c14ada491d0bd"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants