我正在用NativeScript构建一个全新的应用程序,但我在使用原生脚本cli创建组件/服务/等时遇到了问题。我只是一直在说:
Error: Invalid rule result: Instance of class Promise.
at t.project (/usr/local/lib/node_modules/nativescript/node_modules/@nativescript/schematics-executor/dist/index.js:250:1038)
...
我检查了这类错误,修复方法是拥有相同版本的@angular/cli和@schematics/
我正在开发一个应用程序使用nativescript和角度11.0。对于初始启动,创建登录屏幕。在运行应用程序时遇到问题。获取下面的异常。只有在模块中启用了路由时,才会出现此问题。 ERROR in ./app/login/login.component.ts
Module not found: Error: Can't resolve '@nativescript/angular/router' in 'D:\Mobile_dev\ns-ng-quiz\app-ns-ng\src\app\login'
@ ./app/login/login.
我在vscode中使用带有nativescript扩展的本地脚本angular。当我尝试调试应用程序(ios)时,它不会在断点处停止,编辑器也无法识别断点。
在调试控制台中,我可以看到下面的消息:"Error when a to require webpack.config.js file from path '/Users/raulvaldoleiros/vscode-workspaces/ns-ng-course/webpack.config.js'. Error is: TypeError: host.onUnRecoverableConfigFileDiagno
尝试制作一个非常简单的(教程) NativeScript/Angular2 2应用程序。
我刚开始添加一个路由器和一个“基本”组件,它有一个用于更改视图/导航的<page-router-outlet>。
添加此设置后,主要从这里复制:,我现在收到了一个错误:
JS: Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.
JS: EXCEPTION: Uncaught (in promise): Error: No provider for
我一直在尝试实现NativeScript UI的中所说的基本仪表功能。但是我得到了以下错误:TypeError: com.telerik.widget.gauge.RadRadialView is not a constructor。
Package.json:
{
"description": "NativeScript Application",
"license": "SEE LICENSE IN <your-license-filename>",
"readme":
我正在与Nativescript角度和代码共享的应用程序工作。在几天前升级到Angular 10之后,一切都很好。今天我想用插件nativescript-plugin-firebase实现Firebase,但当我尝试运行我的应用程序时,我得到了以下错误: ERROR in ../node_modules/nativescript-plugin-firebase/firebase.js
Module not found: Error: Can't resolve 'tns-core-modules/application/application'
ERROR in .
我想使用nativescript-youtubeplayer / nativescript-youtubeplayer-inline npm软件包在我的本地手机应用程序中播放youtube视频。我遵循了提供的步骤,当我试图使用tns运行android 命令构建我的应用程序时,我面临以下错误。
*JS: ERROR Error: Uncaught (in promise): TypeError: Class constructor View cannot be invoked without 'new'
JS: TypeError: Class constructor View
我正在构建一个原生脚本应用程序,可以同时处理iOS和安卓平台。这是一个使用蓝牙权限的应用程序,firebase,它的targetSDK是30 (由于Google Play策略) 我的应用程序在启动时崩溃了,但只在ANDROID上。我不知道为什么和tns调试android输出没有消息。我的应用程序id在我的所有文件中都是相同的。我不知道该怎么办。我在一个运行安卓8的较老的安卓上测试了同样的代码,运行良好。它只在较新的设备上使用。 我想知道是不是Android特定的代码出了问题,但我不确定是什么原因。 This issue may be caused by:
* crash at sta