Open TDPerz opened 2 years ago
Sorry for late reply. This module was intended for use with Expo platform - it seems to me that there's a problem with Expo's file system module that this module depends on. Are you sure you're using this module with Expo project?
Also, by reinstalling the module do you mean that you've reinstalled only expo-music-info module? One thing that comes to my mind is that you can also try to separately reinstall @unimodules/core module (https://www.npmjs.com/package/@unimodules/core). Let me know if the issue is resolved.
worked for me
expo install @unimodules/core
But the result of import
import MusicInfo from "expo-music-info";
MusicInfo.getMusicInfoAsync
Property 'getMusicInfoAsync' does not exist on type 'typeof import("/node_modules/expo-music-info/index")'.ts(2339)
I'm ignoring this warning because even with that the use of getMusicInfoAsync is working
// @ts-ignore
await MusicInfo.getMusicInfoAsync(uri, {
title: true,
artist: true,
album: true,
genre: true,
picture: true,
})
My problem is this:
that problem is when i import this library, when i put
import MusicInfo from 'expo-music-info';
and also when i start my application when app bundling show the next error:i do tried reinstall all module and uninstall this module an install again
what can i do it?