The audio error of uniapp,
my situation is that sometimes it is good and sometimes it is not good
the error report is shown in the figure below:
the reason for the error report is that the audio cannot find resources
check the code and find that the path is written like this
so the following modifications are made:
just import it directly above
solved~
Read More:
- [Solved] Uncaught DOMException: Failed to execute ‘readAsDataURL‘ on ‘FileReader‘: The object is already busy
- Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to crrent location: “/home“
- [Solved] Uncaught (in promise) Error: Avoided redundant navigation to current location:
- How to solve Uncaught (in promise) error in VUE?
- How to Solve Uncaught (in promise) Error (Two Solutions)
- Vue Error: Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location
- [Solved] Echarts Error: Uncaught (in promise) Error: Initialize failed: invalid dom.
- [Solved] echarts Draw Errror: echarts-d9fd185e.js:31447 Uncaught (in promise) Error: Initialize failed: invalid dom.
- [Solved] Uncaught (in promise) TypeError: XXX.a is not a constructor
- request.js?b775:101 Uncaught (in promise) Error: Failed to convert value of type ‘java.lang.String’ to required type ‘java.lang.Long’;
- ArcGIS API for JavaScript Error Uncaught(in promise): TypeError: xxx is not a constructor
- [Solved] Turf.js error: uncaught (in promise) error: the solution of invalid unit
- [Chrome]: DevTools failed to load source map… (How to Solve)
- [Solved] vue-roter 4 Error: Error: Invalid route component/Uncaught (in promise) Error: Invalid route component
- [Solved] Vue item packaging error: Failed to load resource: the server responded with a status of 404 (Not Found)
- Module not found: Error: Can‘t resolve ‘core-js/modules/es.promise.js‘ in
- [Solved] Failed to load resource: net::ERR_FILE_NOT_FOUND
- [Solved] React Error: ReactDOM.render is no longer supported in React 18.
- Vue-echarts error: was not found in vue-demi [How to Solve]
- VueUncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location: “/