-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't yarn add package #16
Comments
The 'web-module-linker', which is an devDependency is needed for the postinstall.js script. It should work, if you install 'web-module-linker' before as global. The problem is: I don't know how to ensure that the dependency is installed before the postinstall.js is running. |
I moved the 'web-module-linker' from devDependency to dependency. (v2.13.7) Does it work now? |
Good news: web-module-linker got installed first, so that worked
Seems to be a windows problem, apparently windows doesn't allow symlinks without admin rights 🤔 |
I just tried it out, the problem is indeed symlinks + admin rights. If I |
Yes, right. :) The linking is necessay to use ES6 modules and npm/yarn together without transpiling. ES6, web and npm are not really compatible. Maybe transpiling would be the best way, but this destroys the es6 module concept. |
I see. I created a PR (#17) that includes a note about this issue on the README for now, in case anyone else runs into it |
Nice, thanks. For now an info to Windows users is the best solution. I think, when I have some time left in future, I will create a packaged distribution which combines svjs-svg and all chessboard classes and allows easy using cm-chessboard without symlinks. |
I tried installing the package with
yarn add cm-chessboard
and got the following error message:Any idea what the problem could be?
The text was updated successfully, but these errors were encountered: