quick-window-91705
07/23/2025, 5:00 PMquick-window-91705
07/23/2025, 5:00 PM(base) rohitmalhotra@Rohits-Laptop Openhands % make build-frontend
Building frontend...
> openhands-frontend@0.49.0 prepare
> cd .. && husky frontend/.husky
> openhands-frontend@0.49.0 build
> npm run make-i18n && react-router build
> openhands-frontend@0.49.0 make-i18n
> node scripts/make-i18n-translations.cjs
TypeError: crypto.hash is not a function
at getHash (file:///Users/rohitmalhotra/Documents/Openhands/Openhands/frontend/node_modules/vite/dist/node/chunks/dep-Bg4HVnP5.js:2788:21)
at getLockfileHash (file:///Users/rohitmalhotra/Documents/Openhands/Openhands/frontend/node_modules/vite/dist/node/chunks/dep-Bg4HVnP5.js:11673:9)
at getDepHash (file:///Users/rohitmalhotra/Documents/Openhands/Openhands/frontend/node_modules/vite/dist/node/chunks/dep-Bg4HVnP5.js:11676:23)
at initDepsOptimizerMetadata (file:///Users/rohitmalhotra/Documents/Openhands/Openhands/frontend/node_modules/vite/dist/node/chunks/dep-Bg4HVnP5.js:11137:53)
at createDepsOptimizer (file:///Users/rohitmalhotra/Documents/Openhands/Openhands/frontend/node_modules/vite/dist/node/chunks/dep-Bg4HVnP5.js:34621:17)
at new DevEnvironment (file:///Users/rohitmalhotra/Documents/Openhands/Openhands/frontend/node_modules/vite/dist/node/chunks/dep-Bg4HVnP5.js:35385:109)
at Object.defaultCreateClientDevEnvironment [as createEnvironment] (file:///Users/rohitmalhotra/Documents/Openhands/Openhands/frontend/node_modules/vite/dist/node/chunks/dep-Bg4HVnP5.js:35804:9)
at _createServer (file:///Users/rohitmalhotra/Documents/Openhands/Openhands/frontend/node_modules/vite/dist/node/chunks/dep-Bg4HVnP5.js:28376:132)
at BasicMinimalPluginContext.configResolved (/Users/rohitmalhotra/Documents/Openhands/Openhands/frontend/node_modules/@react-router/dev/dist/vite.js:3221:29)
at async Promise.all (index 2)
make: *** [build-frontend] Error 1freezing-spoon-14104
07/23/2025, 5:08 PMrm -rf node_modules/ package-lock.json then try againquick-window-91705
07/23/2025, 5:13 PMquick-window-91705
07/23/2025, 5:13 PMfreezing-spoon-14104
07/23/2025, 5:14 PMquick-window-91705
07/23/2025, 5:15 PMquick-window-91705
07/23/2025, 5:22 PMquick-window-91705
07/23/2025, 5:24 PMquick-window-91705
07/23/2025, 5:24 PMfreezing-spoon-14104
07/23/2025, 5:27 PMquick-window-91705
07/23/2025, 5:28 PMcalm-artist-7206
07/23/2025, 5:29 PMquick-window-91705
07/23/2025, 5:29 PM