[ https://issues.apache.org/jira/browse/ATLAS-3372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nixon Rodrigues reassigned ATLAS-3372: -------------------------------------- Assignee: Keval Bhatt > Failed to build atlas-dashboardv2 caused by too low node version > ---------------------------------------------------------------- > > Key: ATLAS-3372 > URL: https://issues.apache.org/jira/browse/ATLAS-3372 > Project: Atlas > Issue Type: Bug > Components: atlas-webui > Affects Versions: 1.1.0 > Reporter: Jiaqi Shan > Assignee: Keval Bhatt > Priority: Blocker > Attachments: ATLAS-3372.patch > > > When building atlas-dashboardv2, it's giving me the following error: > {quote}[INFO] Running 'grunt build-minify' in > C:\ideaProject\atlas\anchor\atlas\dashboardv2\target > [INFO] Loading "clean.js" tasks...ERROR > [INFO] >> SyntaxError: Block-scoped declarations (let, const, function, > class) not yet supported outside strict mode > [INFO] Warning: Task "clean" not found. Use --force to continue. > [INFO] > [INFO] Aborted due to warnings. > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 02:21 min > [INFO] Finished at: 2019-08-14T20:14:30+08:00 > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > com.github.eirslett:frontend-maven-plugin:1.4:grunt (grunt dist) on project > atlas-dashboardv2: Failed to run task: 'grunt build-minify' failed. > org.apache.commons.exec.ExecuteException: Process exited with an error: 3 > (Exit value: 3) -> [Help 1] > {quote} > > I found this issue might be relevant: > [https://github.com/JeffreyWay/laravel-mix/issues/264] > The problem seems to be caused by too low node version. > I update node and npm version to be the same with Atlas-2.0.0 and it works. > In addition, this error didn't occur before 2019.8.13. Is there any change > for node or atlas? -- This message was sent by Atlassian JIRA (v7.6.14#76016)