[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-testing-library-user-event-has-unmet-peer-dependency":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":17,"titleAccent":6,"lead":18,"facts":21,"why":36,"log":46,"fix":71,"engine":88,"related":95,"pitch":102},"cra","testing-library-user-event-has-unmet-peer-dependency","Create React App build fails with OpenSSL crypto error","Cra",{"description":9},"Learn what causes Create React App build fails with OpenSSL crypto error, how PanelAlpha Engine responds to it during deployment.",[11,14,16],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":7,"href":15},"\u002Fapps\u002Fstacks\u002Fcra",{"label":6},"",[19],{"text":20},"Error recorded 2 times in PanelAlpha Engine deploys on Cra. The deploy log below is the recorded failure output.",[22,27,30,32],{"label":23,"value":24,"tone":25,"tooltip":26},"Type","Error","err","An error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.",{"label":28,"value":29},"Seen","2 times",{"label":31,"value":7},"Where",{"label":33,"value":34,"tooltip":35},"Status","Observed","Our team will look into this soon, verify the cause and try to fix it in an upcoming release.",{"heading":37,"body":38},"Why it happens",[39,41,44],{"text":40},"The application uses Create React App 3.4.3 with an older webpack version. The build is running with a Node\u002FOpenSSL combination that rejects webpack’s legacy hashing algorithm, producing ",{"text":42,"code":43},"ERR_OSSL_EVP_UNSUPPORTED",true,{"text":45},". The lockfile copy warnings are not the reported build failure.",{"heading":47,"block":48},"What the log looks like",{"header":49,"lines":50},"Deploy log",[51,55,59,63,67],{"segments":52},[53],{"text":54},"yarn run v1.22.22",{"segments":56},[57],{"text":58},"$ react-scripts build",{"segments":60},[61],{"text":62},"Creating an optimized production build...",{"segments":64},[65],{"text":66},"Error: error:0308010C:digital envelope routines::unsupported",{"segments":68},[69],{"text":70},"code: 'ERR_OSSL_EVP_UNSUPPORTED'",{"heading":72,"steps":73,"block":85},"How to fix it",[74],[75,77,79,81,83],{"text":76},"Set ",{"text":78,"code":43},"NODE_OPTIONS=--openssl-legacy-provider",{"text":80}," for the build and redeploy, if supported by the runtime. For a lasting fix, upgrade ",{"text":82,"code":43},"react-scripts",{"text":84}," and compatible dependencies, then regenerate and commit the project’s lockfile. The peer-dependency warnings can be reviewed separately.",{"header":86,"lines":87},"Fix by hand",[],{"heading":89,"body":90,"block":93},"How PanelAlpha Engine solves it",[91],{"text":92},"Detect the legacy CRA\u002Fwebpack and Node\u002FOpenSSL combination before building. Apply the supported compatibility setting automatically or provide a targeted remediation message; do not treat absent package-lock.json or pnpm-lock.yaml as fatal when yarn.lock is present.",{"header":17,"lines":94},[],{"heading":96,"items":97},"Apps affected",[98],{"title":99,"badge":100,"tone":25,"href":101},"facebook-messenger-clone","2 occurrences","\u002Fapps\u002Fsantaknew\u002Freact-messenger-clone",{"heading":103,"body":104,"footNote":105,"docsLabel":106,"docsHref":107},"Try PanelAlpha Engine yourself.","The easiest way to turn your server into a safe, controlled environment for your AI agent. Deploy, manage and maintain any project from Claude Code, Cursor, Codex or any other MCP client. Open source under Apache 2.0, free to run.","Requires Ubuntu 24.04 or 26.04 · 2 GB RAM · 1 CPU","Read the documentation","https:\u002F\u002Fpanelalpha.com\u002Fdocs"]