-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
ChordSheetJs v5.1.2 and react 17.0.2 got error #426
Comments
Hey @alexaung. Thanks for reporting your issue. Could you maybe describe your build setup, or link your project on GitHub/Gitlab? That could help me trying to figure out your error. |
npx create-react-app my-app That all I did but could not build. But I create the project with vitejs, this error is gone. |
I had the same issue with Next.js. I think it's related to this handlebars-lang/handlebars.js#1174. The error was:
I fixed it by adding a custom webpack config:
|
I got the following error after I import import ChordSheetJS from "chordsheetjs";
Compiled with problems:X
ERROR in ./node_modules/handlebars/lib/index.js 15:11-24
Module not found: Error: Can't resolve 'fs' in '/Users/zzzzz/Development/chordsheep/node_modules/handlebars/lib'
The text was updated successfully, but these errors were encountered: