Hi guys, I have a problem with jsonforms-editor. I have cloned this repository, GitHub - eclipsesource/jsonforms-editor: Visual Editor for JSON Schema and JSON Forms Ui Schema, to my local machine, but it doesn’t seem to install. I don’t know the reason. Please help me out.
What exactly is the problem you’re facing? Did you try
npm ci && npm run init as indicated in the Readme?
I have done these steps: npm ci && npm run init but when start using
it will throw these error
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
After I have added these commands to the package.json
“start”: “set NODE_OPTIONS=–openssl-legacy-provider && cd app && npm run start”,
then i start the dev server it ask to run this command: npx update-browserslist-db@latest
i have also done these steps, and after that, it shows these errors.
Failed to compile.
Module not found: Can’t resolve ‘@jsonforms/editor’
please help me out.
It works for me with Node 16. Is that an option for you? Note that the
jsonforms-editor repository was not updated for a long time and therefore is based on old dependencies. For a proper fix all dependencies should be updated, then you would also not encounter this issue. However that is non-trivial work.
I have installed Node.js 16, and now it works. Thanks, @sdirix