Thanks for your response.
I have changed the node version to 16.
Now I am able to compile it for sure.
but in my IDE(VSCODE), it shows many errors with red underline.
example I am adding the snapshots for you to better understand.
There are more errors like this. please advise how I can fix it.
note: this issue can be marked as resolved. as just closing the folder and restarting VScode fixed this issue.
Hello Pawan,
Actually, NodeJS 17, 18 version is not the LTS version, please use the NodeJS LTS version.
version 16.15.1
https://nodejs.org/en/download/
Thanks
Khelesh M
DexignZone Team
I followed the instructions as per installation guide.
when I use ng serve, I am getting the error like below:
o disable this warning use "ng config -g cli.warnings.versionMismatch false".
⠦ Generating browser application bundles (phase: building)...node:internal/crypto/hash:67
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:67:19)
at Object.createHash (node:crypto:133:10)
at BulkUpdateDecorator.hashFactory (F:\wamp\www\angular-admin2\Angular-Uena-v1.2-23-September-2021\package\node_modules\webpack\lib\util\createHash.js:145:18)
at BulkUpdateDecorator.update (F:\wamp\www\angular-admin2\Angular-Uena-v1.2-23-September-2021\package\node_modules\webpack\lib\util\createHash.js:46:50)
at RawSource.updateHash (F:\wamp\www\angular-admin2\Angular-Uena-v1.2-23-September-2021\package\node_modules\webpack\node_modules\webpack-sources\lib\RawSource.js:77:8)
at NormalModule._initBuildHash (F:\wamp\www\angular-admin2\Angular-Uena-v1.2-23-September-2021\package\node_modules\webpack\lib\NormalModule.js:880:17)
at handleParseResult (F:\wamp\www\angular-admin2\Angular-Uena-v1.2-23-September-2021\package\node_modules\webpack\lib\NormalModule.js:946:10)
at F:\wamp\www\angular-admin2\Angular-Uena-v1.2-23-September-2021\package\node_modules\webpack\lib\NormalModule.js:1040:4
at processResult (F:\wamp\www\angular-admin2\Angular-Uena-v1.2-23-September-2021\package\node_modules\webpack\lib\NormalModule.js:755:11)
at F:\wamp\www\angular-admin2\Angular-Uena-v1.2-23-September-2021\package\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'
}
Node.js v18.4.0
Hello Pawan,
It's an editor issue, not a code issue. The developer has checked it in visual studio editor.
Please check the attachment.
attached files: