Closed Multihuntr closed 2 years ago
Oh! Found something else describing this problem and a solution. Turns out it's a generated file, anyway.
So, the solution is to add npm prepublish
after npm install
to generate it. I'll put in a pull request to modify the README.md with this additional step.
This this comment
Hey, found your dash component wrapper for this player and was interested in trying it out, but when trying to
import dash-player
, it saysNo such file or directory: '/code/dash_player/metadata.json'
.I admit to not knowing exactly how making a Dash component works, but I found an issue on the base dash-core-components which pointed me to the
.gitignore
file, and it seems that thedash-player/metadata.json
file is not being tracked, but is required to run this player.