-
Notifications
You must be signed in to change notification settings - Fork 2
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
Missing grammar.js (not compiled) #1
Comments
@thomaswp 👋 sorry for the very delayed response. The released package should have the grammer embedded in the generated modules in |
@bkeepers I had the same issue, getting a |
@kevinjhc ok, thanks. Can you give me more info about your environment? CJS or ESM? |
I am having this problem with the same error messages as the library would not run. Locally I can install
As this has not been fixed for over 2 years, is there a workaround for deployment? |
If you install this package, it doesn't come with the grammar.js needed to run. I had to build it manually with
npx peggy node_modules/onsong/src/grammar.peggy
. Makes sense you don't want to version control it, but when deploying to npm, I think it should be included.P.S. Thanks for making this - I needed a parser and glad not to have to build my own! And it helped me find ChordBook, which is a nice alternative to a certain other website with annoying ads :D
The text was updated successfully, but these errors were encountered: