عند عمل الامر npm run build لمشروع html scss js كأن الاصدار من ال node لايتوافق ويظهر هذا الخطاء
> company@1.0.0 build
> webpack serve --mode production
(node:22464) [DEP0111] DeprecationWarning: Access to process.binding('http_parse
r') is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
i 「wds」: Project is running at http://localhost:9000/
i 「wds」: webpack output is served from undefined
i 「wds」: Content not from webpack is served from C:\Users\Mohsen\ALaravel\compan
y-website\build
node:internal/crypto/hash:69
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:69:19)
at Object.createHash (node:crypto:138:10)
at BulkUpdateDecorator.hashFactory (C:\Users\Mohsen\ALaravel\company-website
\node_modules\webpack\lib\util\createHash.js:138:18)
at BulkUpdateDecorator.update (C:\Users\Mohsen\ALaravel\company-website\node
_modules\webpack\lib\util\createHash.js:44:50)
at RawSource.updateHash (C:\Users\Mohsen\ALaravel\company-website\node_modul
es\webpack-sources\lib\RawSource.js:64:8)
at NormalModule._initBuildHash (C:\Users\Mohsen\ALaravel\company-website\nod
e_modules\webpack\lib\NormalModule.js:736:17)
at handleParseResult (C:\Users\Mohsen\ALaravel\company-website\node_modules\
webpack\lib\NormalModule.js:800:10)
at C:\Users\Mohsen\ALaravel\company-website\node_modules\webpack\lib\NormalM
odule.js:853:4
at processResult (C:\Users\Mohsen\ALaravel\company-website\node_modules\webp
ack\lib\NormalModule.js:624:11)
at C:\Users\Mohsen\ALaravel\company-website\node_modules\webpack\lib\NormalM
odule.js:675:5 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization
error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v20.5.1
السؤال
Abdullah Baaqail
عند عمل الامر npm run build لمشروع html scss js كأن الاصدار من ال node لايتوافق ويظهر هذا الخطاء
> company@1.0.0 build > webpack serve --mode production (node:22464) [DEP0111] DeprecationWarning: Access to process.binding('http_parse r') is deprecated. (Use `node --trace-deprecation ...` to show where the warning was created) i 「wds」: Project is running at http://localhost:9000/ i 「wds」: webpack output is served from undefined i 「wds」: Content not from webpack is served from C:\Users\Mohsen\ALaravel\compan y-website\build node:internal/crypto/hash:69 this[kHandle] = new _Hash(algorithm, xofLen); ^ Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:69:19) at Object.createHash (node:crypto:138:10) at BulkUpdateDecorator.hashFactory (C:\Users\Mohsen\ALaravel\company-website \node_modules\webpack\lib\util\createHash.js:138:18) at BulkUpdateDecorator.update (C:\Users\Mohsen\ALaravel\company-website\node _modules\webpack\lib\util\createHash.js:44:50) at RawSource.updateHash (C:\Users\Mohsen\ALaravel\company-website\node_modul es\webpack-sources\lib\RawSource.js:64:8) at NormalModule._initBuildHash (C:\Users\Mohsen\ALaravel\company-website\nod e_modules\webpack\lib\NormalModule.js:736:17) at handleParseResult (C:\Users\Mohsen\ALaravel\company-website\node_modules\ webpack\lib\NormalModule.js:800:10) at C:\Users\Mohsen\ALaravel\company-website\node_modules\webpack\lib\NormalM odule.js:853:4 at processResult (C:\Users\Mohsen\ALaravel\company-website\node_modules\webp ack\lib\NormalModule.js:624:11) at C:\Users\Mohsen\ALaravel\company-website\node_modules\webpack\lib\NormalM odule.js:675:5 { opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' } Node.js v20.5.1
كيف العمل مع هذه المشكلة
9 أجوبة على هذا السؤال
Recommended Posts
انضم إلى النقاش
يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.