[
https://issues.apache.org/jira/browse/ATLAS-3013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16730520#comment-16730520
]
shawn dang commented on ATLAS-3013:
-----------------------------------
i modify dashboardv2 pom.xml,it works
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<executions>
<execution>
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<configuration>
<!--<nodeVersion>${node.version}</nodeVersion>
<npmVersion>1.3.21</npmVersion>-->
<nodeVersion>${node-for-v2.version}</nodeVersion>
<npmVersion>3.8.5</npmVersion>
</configuration>
</execution>
<execution>
<id>ssl set</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>config set strict-ssl false</arguments>
</configuration>
</execution>
<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>install</arguments>
</configuration>
</execution>
<execution>
<id>grunt dist</id>
<goals>
<goal>grunt</goal>
</goals>
<configuration>
<arguments>${project.build.dashboardv2.gruntBuild}</arguments>
</configuration>
</execution>
</executions>
</plugin>
> Failed to build atlas-dashboardv2
> ---------------------------------
>
> Key: ATLAS-3013
> URL: https://issues.apache.org/jira/browse/ATLAS-3013
> Project: Atlas
> Issue Type: Bug
> Components: atlas-webui
> Affects Versions: 1.1.0
> Environment: maven 3.5.4 ,centos6.5,jdk1.8-191,atlas1.1.0
> Reporter: shawn dang
> Priority: Major
> Labels: build
>
> [INFO] --- frontend-maven-plugin:1.4:npm (npm install) @ atlas-dashboardv2 ---
> [INFO] Running 'npm install' in /home/root/atlas-1.1.0/dashboardv2/target
> [ERROR] npm ERR! Linux 2.6.32-431.el6.x86_64
> [ERROR] npm ERR! argv "/home/root/atlas-1.1.0/dashboardv2/target/node/node"
> "/home/root/atlas-1.1.0/dashboardv2/target/node/node_modules/npm/bin/npm-cli.js"
> "install"
> [ERROR] npm ERR! node v4.4.2
> [ERROR] npm ERR! npm v3.8.5
> [ERROR] npm ERR! code CERT_NOT_YET_VALID
> [ERROR]
> [ERROR] npm ERR! certificate is not yet valid
> [ERROR] npm ERR!
> [ERROR] npm ERR! If you need help, you may report this error at:
> [ERROR] npm ERR! <https://github.com/npm/npm/issues>
> [ERROR]
> [ERROR] npm ERR! Please include the following file with any support request:
> [ERROR] npm ERR! /home/root/atlas-1.1.0/dashboardv2/target/npm-debug.log
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)