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 have integrated music-metadata-browser in my Angular 8 project and its working fine on local server of my system but when I uploaded the project on server then getting error on the component in which music-metadata-browser is used. Error that I am getting is:
core.js:6014 ERROR Error: Uncaught (in promise): TypeError: Class extends value undefined is not a constructor or null
TypeError: Class extends value undefined is not a constructor or null
at Object../node_modules/music-metadata/lib/id3v2/ID3Stream.js (ID3Stream.js:8)
at webpack_require (bootstrap:84)
at Object../node_modules/music-metadata/lib/aiff/AiffParser.js (AiffParser.js:12)
at webpack_require (bootstrap:84)
at Object../node_modules/music-metadata/lib/ParserFactory.js (ParserFactory.js:9)
at webpack_require (bootstrap:84)
at Object../node_modules/music-metadata/lib/core.js (core.js:5)
at webpack_require (bootstrap:84)
at Object../node_modules/music-metadata-browser/lib/index.js (index.js:5)
The text was updated successfully, but these errors were encountered:
The problem seems to be dependency in ID3Stream to Node stream, which is a Node thing. I guess in a lot of cases this is poly-filled, but it does not work here.
I need to investigate a bit further. Maybe I can get rid of the dependency.
Hi,
I have integrated music-metadata-browser in my Angular 8 project and its working fine on local server of my system but when I uploaded the project on server then getting error on the component in which music-metadata-browser is used. Error that I am getting is:
core.js:6014 ERROR Error: Uncaught (in promise): TypeError: Class extends value undefined is not a constructor or null
TypeError: Class extends value undefined is not a constructor or null
at Object../node_modules/music-metadata/lib/id3v2/ID3Stream.js (ID3Stream.js:8)
at webpack_require (bootstrap:84)
at Object../node_modules/music-metadata/lib/aiff/AiffParser.js (AiffParser.js:12)
at webpack_require (bootstrap:84)
at Object../node_modules/music-metadata/lib/ParserFactory.js (ParserFactory.js:9)
at webpack_require (bootstrap:84)
at Object../node_modules/music-metadata/lib/core.js (core.js:5)
at webpack_require (bootstrap:84)
at Object../node_modules/music-metadata-browser/lib/index.js (index.js:5)
The text was updated successfully, but these errors were encountered: