You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting a similar error with my Capacitor app when trying to upgrade @capacitor-community/native-audio from version 5.0.1 to version 6.0.0 (I'm also upgrading my app from Capacitor 5.5.1 to 6.0.0 as well). I believe the issue is stemming from the lack of a dist directory in node_modules/@capacitor-community/native-audio.
I'm using node v20.12.2 and npm v10.5.0 .
When I install @capacitor-community/native-audio version 5.0.1 in my app, then the node_modules/@capacitor-community/native-audio/dist directory exists and contains the following files:
docs.json
esm (this is a directory, actually)
plugin.cjs.js
plugin.cjs.js.map
plugin.js
plugin.js.map
However, when I install @capacitor-community/native-audio version 6.0.0, then there is no dist directory in node_modules/@capacitor-community/native-audio.
My app is using a library that copies npm packages to be used with OpenUI5 framework when declared as dependencies in a UI5 controller. I think the library is expecting a node_modules/@capacitor-community/native-audio/dist/plugin.js file because it's listed as the main file in package.json:
After downloading, I tried importing {NativeAudio} from '@ capacitor community/native audio', but found an error
Can anyone help me
The text was updated successfully, but these errors were encountered: