mp3 - using nativescript-audio is throwing can not find module error -




i want play mp3 in native script application. , followed introduction, https://www.npmjs.com/package/nativescript-audio install nativescript-audo.

but when run, met error:

file:///app/modules/rss_player/detail.component.js:7:35: js error error: not find module 'nativescript-audio' 

i used first:

tns plugin add nativescript-audio 

then

import { tnsplayer } 'nativescript-audio';  this._player = new tnsplayer(); 

can tell me error?

do have import special module? one?

the git plugin is:

https://github.com/bradmartin/nativescript-audio/tree/master/demo/app

thanks





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -