在2.2中获得以下异常。
正在使用以前的版本。
是否有"tns信息“,并且全部更新为2.2
JS: Error: Uncaught (in promise): EXCEPTION: Error in pages/listview/listview.html:12:2
JS: ORIGINAL EXCEPTION: TypeError: _this.cssClasses(...).set is not a function
JS: ORIGINAL STACKTRACE:
JS: TypeError: _this.cssClasses(...).set is not a function
我正试图通过跟随在本地文本(角2)中获得一个自定义对话框模式弹出。
知道为什么在单击“显示”按钮时,会出现以下异常:
EXCEPTION: No component factory found for DialogContent (d:\npn\qwe\node_modules\@angular\core\bundles\core.umd.js:3462:27)
ORIGINAL STACKTRACE: (d:\npn\qwe\node_modules\@angular\core\bundles\core.umd.js:3467:31)
Error: No component factory
我试图在我的应用程序中使用角的HttpClient,但是当我在组件中导入它时,我得到了Error: Trying to link invalid 'this' to a Java object
更新
我还试着把这个添加到杂货示例中,而不改变任何其他东西,但它不起作用。
{
"description": "ArkCash",
"license": "SEE LICENSE IN <your-license-filename>",
"readme"
我在使用原生脚本应用程序时遇到了这个异常。
EXCEPTION: Uncaught (in promise): Server error
JS: ORIGINAL STACKTRACE:
JS: Error: Uncaught (in promise): Server error
JS: at resolvePromise (/data/data/com.yourdomain.appname/files/app/tns_modules/nativescript-angular/zone.js/dist/zone-nativescript.js:416:31)
JS: at /d
我试图在iOS上构建一个带有角度应用程序的{N},但是仍然有一个顽固的构建错误,我在谷歌上找不到任何东西。
我已经升级到节点17,而节点16是当前的LTS版本。这会不会引起问题?
以下是来自
tns运行ios
tns run ios
Searching for devices...
Preparing project...
webpack is watching the files...
Compiling listview-directives : main as commonjs
/Users/user/myprojects/node_modules/@angular/compiler-c
我正在开发一个应用程序使用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.
当我执行tns run android来测试我的代码时,它产生了这个运行时错误:
Gradle build...
+ setting applicationId
+ applying user-defined configuration from C:\Users\Ace\eclipse-workspace\arenamaster\App_Resources\Android\app.gradle
+ using android X library androidx.legacy:legacy-support-v4:1.0.0
我已经按照Telerik文档中的说明设置了RadSideDrawer。应用程序成功构建和加载,但没有显示侧抽屉内容,并且在尝试滑动屏幕打开侧抽屉应用程序时崩溃,并显示以下错误:
An uncaught Exception occurred on "main" thread.
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.FrameLayout.setVisibility(int)' on a null object reference
a
这可能是一个愚蠢的问题,但我正在尝试获取要在nativescript-ui-autocomplete中使用的远程数据,但我得到了以下错误ERROR TypeError: Cannot set property 'loadSuggestionsAsync' of undefined
代码与中的示例非常相似,但是我的代码无法正常工作。
TypeScript
import * as http from "tns-core-modules/http";
import { ObservableArray } from "tns-core-modules/data
是否有人试图使用wakandaServer ( wakanda -client for angular)来构建一个带有原生脚本framework...The的混合应用程序,目标是在一个混合应用程序中使用wakanda作为后端服务器。我用原生脚本features....in做了一些测试,仍然收到这个错误消息: ReferenceError: window is features....in is defined,我看到window对象在window中出现了14次NativeScript很好地解释了窗口对象在nativeScript中是未定义的...在此功能上要发现的一些链接?