I have a problem installing nativescript modules to nativescript-vue with vue-cli-template. As mentioned on official website to I should install over npm and then clean the build. So I installed module:
npm i --save nativescript-audio
npm run clean
Then tried to implement first with "require":
const audio = require('nativescript-audio');
const player = new audio.TNSPlayer();
Then with "import":
import { TNSPlayer } from "nativescript-audio";
But I constantly get same error:
Error: com.tns.NativeScriptException: Failed to find module: "nativescript-audio\options", relative to: app/tns_modules/
Complete log is here
Tried on Windows 7 and Ubuntu 16.04
Is this a problem in module or do I implement it wrong?