问题
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