lichess-org/pgn-viewer

Can not run demo

rbarman opened this issue · 1 comments

I tried to run the demo, but get the error: Uncaught ReferenceError: LichessPgnViewer is not defined

I followed the steps:

  • npm install
  • npm run sass-dev
  • npm run demo

Am I missing another step? Also demo/index.html refers to a lichess-pgn-viewer.js but it is not in the demo directory. How can I get lichess-pgn-viewer.js?

Thanks

I missed one important step:
npm run watch or npm run compile && rollup --config --watch