0👍
As discussed in nativescript-vue Slack channel this is Windows problem that should be solved with webpack config for cli-template. As a workaround now I was able to import and use the plugin by changing its source code.
For nativescript-audio I’ve opened “node_modules/nativescript-audio/audio.android.js” and changed ./
in path to nativescript-audio/
:
__export(require("nativescript-audio/options"));
__export(require("nativescript-audio/android/player"));
__export(require("nativescript-audio/android/recorder"));
Then npm run clean
and npm run watch:android
and it worked
Source:stackexchange.com