Questions tagged «nativescript»

3
HTMLElement未定义-Nativescript-vue
此时我要做的就是让项目运行。 我跑 tns run android 应用程序会生成,但是在启动应用程序时会引发错误 ReferenceError:未定义HTMLElement 因此,当我尝试引入新的nativescript主题核心(2.2.0)时,一切就开始了。我遵循了他们在多个地方发布的指南。一切看起来都很好。然后我跑tns run android了,第一次得到了HTMLElement未定义错误。 我已经吹走了node_modules和platform文件夹 npm重建 tns安装 我已经卸载了nativescript-cli并清除了npm缓存并重新安装(如此处所述:https ://discourse.nativescript.org/t/enoent-no-such-file-or-directory-project-pbxproj/7336 ) 然后,我决定再次开始,从一个干净的项目开始。请按照此处的步骤操作:https://nativescript-vue.org/en/docs/getting-started/quick-start/ 而且当我运行时,即使我根本没有修改模板,tns run android我仍然会得到相同的HTMLElement未定义错误。 我不知道这是一个错误还是我做错了什么 tns-版本6.1.2 节点-v 12.10.0 npm -v 6.10.3 所以无论现在我做什么我都会收到此错误... 就像我说的那样,代码明智的是,通过清除此模板存储库来获取此错误:https : //github.com/nativescript-vue/vue-cli-template 这是堆栈。 User-MacBook-Pro:hello-world user$ tns run android Searching for devices... Preparing project... Bundling application for entryPath ./main... File change detected. …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.