首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >没有安装组件tns-核心模块。*组件tns未安装。未安装组件tns

没有安装组件tns-核心模块。*组件tns未安装。未安装组件tns
EN

Stack Overflow用户
提问于 2018-05-25 02:39:50
回答 3查看 6K关注 0票数 4

我遗漏了什么,我已经完成了本地脚本运行tns医生的安装指南中所要求的所有步骤,给出了以下输出。

代码语言:javascript
复制
C:\abc\xyz>tns doctor
√ Getting environment information

√ Your ANDROID_HOME environment variable is set and points to correct directory.
√ Your adb from the Android SDK is correctly installed.
√ The Android SDK is installed.
√ A compatible Android SDK for compilation is found.
√ Javac is installed and is configured properly.
√ The Java Development Kit (JDK) is installed and is configured properly.
√ Local builds for iOS can be executed only on a macOS system. To build for iOS on a different operating system, you can use the NativeScript cloud infrastructure.
No issues were detected.
√ Getting NativeScript components versions information...
√ Component nativescript has 4.0.2 version and is up to date.
× Component tns-core-modules is not installed.
× Component tns-android is not installed.
× Component tns-ios is not installed.
EN

回答 3

Stack Overflow用户

发布于 2018-11-30 02:21:56

试试这个- tns platform add android

票数 14
EN

Stack Overflow用户

发布于 2018-05-25 04:41:16

你试过检查你的package.json了吗?还是尝试执行npm i?或tns install

票数 0
EN

Stack Overflow用户

发布于 2018-05-25 06:39:07

我想有两点:

  1. 似乎您没有遵循NativeScript quick setup安装它,因为它可以全部安装在一起。https://docs.nativescript.org/start/quick-setup
  2. 如果存在此模块,则应在package.json中检查:

× Component tns-core-modules is not installed. × Component tns-android is not installed. × Component tns-ios is not installed.

您还可以检查以下操作:npm ls <module-name>,其中<module-name>是检查它的模块。

如果对你有帮助的话请告诉我。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/50520734

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档