-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
➜ gui git:(bb089a9) ✗ npm run build
> openevse_wifi_gui@1.0.0 build
> webpack
node:internal/crypto/hash:79
this[kHandle] = new _Hash(algorithm, xofLen, algorithmId, getHashCache());
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:79:19)
at Object.createHash (node:crypto:139:10)
at module.exports (/home/achasen/git/ESP8266_WiFi_v2.x/gui/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/home/achasen/git/ESP8266_WiFi_v2.x/gui/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/home/achasen/git/ESP8266_WiFi_v2.x/gui/node_modules/webpack/lib/NormalModule.js:471:10)
at /home/achasen/git/ESP8266_WiFi_v2.x/gui/node_modules/webpack/lib/NormalModule.js:503:5
at /home/achasen/git/ESP8266_WiFi_v2.x/gui/node_modules/webpack/lib/NormalModule.js:358:12
at /home/achasen/git/ESP8266_WiFi_v2.x/gui/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/home/achasen/git/ESP8266_WiFi_v2.x/gui/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at Array.<anonymous> (/home/achasen/git/ESP8266_WiFi_v2.x/gui/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
at Storage.finished (/home/achasen/git/ESP8266_WiFi_v2.x/gui/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:43:16)
at /home/achasen/git/ESP8266_WiFi_v2.x/gui/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:79:9
at /home/achasen/git/ESP8266_WiFi_v2.x/gui/node_modules/graceful-fs/graceful-fs.js:115:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3) {
opensslErrorStack: [
'error:03000086:digital envelope routines::initialization error',
'error:0308010C:digital envelope routines::unsupported'
],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v22.11.0
workaround use legacy provider
NODE_OPTIONS=--openssl-legacy-provider npm run build
Metadata
Metadata
Assignees
Labels
No labels