I am not able to install npm and node when I run front end maven plugin
I get below error :
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.0:install-node-and-npm (install node and npm) on project : Could not download Node.js from: https://nodejs.org/dist/v0.9.9/x64/node.exe: Could not download https://nodejs.org/dist/v0.9.9/x64/node.exe: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]
Since this is certificate related issue , I have done below steps to resolve this issue :
1)Extracted the certificate from Node site
2)Install certificate by keytool command in JDK/JRE/LIB/Security
in keystore cacerts
3)Certificate installed successfully
Stil I am getting same issue .
I am really not able to resolve this issue
Can anybody help please ?
Configurations :
<configuration>
<nodeVersion>v8.9.1</nodeVersion>
<npmVersion>6.1.0</npmVersion>
</configuration>