Comments (7)
Sorry.
It looks it does not work on the 8682404 either.
npm install
does not end with errors, but it does not install modules/pgn-viewer/package.json
. When I try to install it the same errors happen.
from pgn-viewer.
So I am trying to experiment over the fresh 1d51383 state...
When I remove the dependance line:
"chessground": "mliebelt/Chessground",
The npm install
works, but the build
fails for
Module not found: Error: Can't resolve 'chessground' in 'D:\dev\PgnViewerJS-original\src'
from pgn-viewer.
So, it looks like mliebelt/chessboard
relevant issue, which is only fork of the original lichess chessboard.
I have tried to run yarn install
here and it fails with the exactly the same reason:
'$npm_execpath' is not recognized as an internal or external command
When I replace the environment variable with
"prepare": "npm run compile", // instead of "prepare": "$npm_execpath run compile",
I am able to run yarn install
and process demo.html
.
from pgn-viewer.
I think, there are two possible ways to overcome this issue:
- avoid using github repository as a library and deploy it into some
@mliebelt/chessboard
and use this one. - or try to make
mliebelt/Chessboard
cross platform- I have already tried to do it on the clone of your repository and I was able to build the chessboard
- I will try to use it in the PgnViewerJS and if it works, I will try to pose a Pull Request
from pgn-viewer.
And here you are mliebelt/chessground#1
(I think, if the PR will be accepted (please, try it) then this issue can be closed.)
from pgn-viewer.
Ok, I have merged your pull request. I tried some months ago to upgrade Chessground to the newest version, but failed, and did not find out the reason for that. Perhaps I will try that again, to get rid of the necessity to build Chessground on my own. For the moment, you should be able to build pgn-viewer again.
from pgn-viewer.
Perhaps I will try that again, to get rid of the necessity to build Chessground on my own.
It was first thing I tried too. Also failed.
I will try again.
For the moment, you should be able to build pgn-viewer again.
I was able to do so using my own build, forking yours, so I expect it really should work now.
Thank you 👍
from pgn-viewer.
Related Issues (20)
- Wrong notation same-line-rooks related to #436 HOT 1
- Player name and coordinates overlap HOT 4
- PGN crashes viewer HOT 9
- Add badges to all READMEs HOT 3
- getGame(index) and getGames() not returning the real games pgn HOT 5
- Switching between games in a multigame PGN does not work HOT 4
- GoTo specific move number HOT 3
- Display the PGN viewer on a responsive website HOT 3
- Make a PGN move given a FEN string HOT 1
- Split repository into pgn-reader (new one) and pgn-viewer (existing one)
- Define what has to be done on a release HOT 1
- Ugly display of many games
- Correct HTML warnings/errors on docs html files
- ManyMany games example results in error
- pgnPuzzle not playing the whole line HOT 4
- Have a dark mode for the viewer
- Latest version 1.6.7 does not seem to work in React HOT 4
- Switch to typesafe-i18n library
- Switch from webpack to rollup
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgn-viewer.