Error: 'tns preview' - Plugin not include

梦想与她 提交于 2019-12-12 10:28:10

问题


I have a next error:

Error_'tns previe'

and this is my package.json:

pakage.json

How can I resolve this error?


回答1:


As the error reads, you can't use any plugin with preview app except the predefined set of plugins those were packed with the Preview app, like nativescript ui plugins, background-http, camera etc.,

The Preview app comes with a predefined set of NativeScript plugins. If your app utilizes a plugin that is not present in the Preview app, you will see a warning message and your app might not work as expected.

Source: from docs



来源:https://stackoverflow.com/questions/55259494/error-tns-preview-plugin-not-include

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!