$ npm run dev
> [email protected] dev
> next dev
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
info - Loaded env from /home/hqtan/mememe/civic-makers/ce-calc/.env.local
info - Loaded env from /home/hqtan/mememe/civic-makers/ce-calc/.env.development
info - Loaded env from /home/hqtan/mememe/civic-makers/ce-calc/.env
info - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5
[INFO]: NODE_ENV: development
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at BulkUpdateDecorator.hashFactory (/home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack/bundle5.js:138971:18)
at BulkUpdateDecorator.update (/home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack/bundle5.js:138872:50)
at OriginalSource.updateHash (/home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack-sources3/index.js:1:10264)
at NormalModule._initBuildHash (/home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack/bundle5.js:68468:17)
at handleParseResult (/home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack/bundle5.js:68534:10)
at /home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack/bundle5.js:68628:4
at processResult (/home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack/bundle5.js:68343:11)
at /home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack/bundle5.js:68407:5
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at BulkUpdateDecorator.hashFactory (/home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack/bundle5.js:138971:18)
at BulkUpdateDecorator.update (/home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack/bundle5.js:138872:50)
at OriginalSource.updateHash (/home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack-sources3/index.js:1:10264)
at NormalModule._initBuildHash (/home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack/bundle5.js:68468:17)
at handleParseResult (/home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack/bundle5.js:68534:10)
at /home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack/bundle5.js:68628:4
at processResult (/home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack/bundle5.js:68343:11)
at /home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack/bundle5.js:68407:5
node:internal/crypto/hash:71
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at BulkUpdateDecorator.hashFactory (/home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack/bundle5.js:138971:18)
at BulkUpdateDecorator.update (/home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack/bundle5.js:138872:50)
at OriginalSource.updateHash (/home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack-sources3/index.js:1:10264)
at NormalModule._initBuildHash (/home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack/bundle5.js:68468:17)
at handleParseResult (/home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack/bundle5.js:68534:10)
at /home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack/bundle5.js:68628:4
at processResult (/home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack/bundle5.js:68343:11)
at /home/hqtan/mememe/civic-makers/ce-calc/node_modules/next/dist/compiled/webpack/bundle5.js:68407:5 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v18.12.1
nvm install v18.12.1
nvm use