You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
code ERESOLVE
ERESOLVE unable to resolve dependency tree
While resolving: [email protected]
Found: @angular/[email protected]
node_modules/@angular/common
@angular/common@"^12.2.16" from the root project
Could not resolve dependency:
peer @angular/common@"^15.0.2" from [email protected]
node_modules/ng-cdbangular
ng-cdbangular@"^1.2.1" from the root project
Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.
npm install --force funktioniert. Danach brechen aber sowohl ng build als auch ng serve mit dieser Fehlermeldung ab:
Compiling @angular/cdk/drag-drop : es2015 as esm2015
⠹ Generating browser application bundles (phase: building)...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:133:10)
at BulkUpdateDecorator.hashFactory (/opt/CollAna/node_modules/webpack/lib/util/createHash.js:145:18)
at BulkUpdateDecorator.update (/opt/CollAna/node_modules/webpack/lib/util/createHash.js:46:50)
at SourceMapSource.updateHash (/opt/CollAna/node_modules/webpack/node_modules/webpack-sources/lib/SourceMapSource.js:231:8)
at NormalModule._initBuildHash (/opt/CollAna/node_modules/webpack/lib/NormalModule.js:880:17)
at handleParseResult (/opt/CollAna/node_modules/webpack/lib/NormalModule.js:946:10)
at /opt/CollAna/node_modules/webpack/lib/NormalModule.js:1040:4
at processResult (/opt/CollAna/node_modules/webpack/lib/NormalModule.js:755:11)
at /opt/CollAna/node_modules/webpack/lib/NormalModule.js:819:5 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
ng v
:npm install
bricht ab mit Fehlermeldungnpm install --force
funktioniert. Danach brechen aber sowohlng build
als auchng serve
mit dieser Fehlermeldung ab:Es scheint sich um ein Kompatibilitätsproblem zwischen Webpack und OpenSSL zu handeln, vergleiche https://stackoverflow.com/q/69692842.
Ein Downgrade auf Node.js v16.20.1 löst das Problem vorübergehend.
The text was updated successfully, but these errors were encountered: