You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Jiaqi Shan (JIRA)" <ji...@apache.org> on 2019/08/14 12:51:00 UTC
[jira] [Updated] (ATLAS-3372) Failed to build atlas-dashboardv2
caused by too low node version
[ https://issues.apache.org/jira/browse/ATLAS-3372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jiaqi Shan updated ATLAS-3372:
------------------------------
Description:
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 version and npm version to be same with Atlas-2.0.0 and it works.
in addition, this error didn't occur before 2019.8.13. Is any change for node or atlas?
was:
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 version and npm version to be same with Atlas-2.0.0 and it works.
in addition, this error didn't occur before 2019.8.13. Is any change for node or atlas?
> 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
> Priority: Blocker
>
> 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 version and npm version to be same with Atlas-2.0.0 and it works.
> in addition, this error didn't occur before 2019.8.13. Is any change for node or atlas?
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)