Compilation is stuck at the step: [ERROR] Running in production mode

My development env:

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty

Problem: I am trying to compile graylog-plugin-aggregates project with the command: mvn compile
The process looks stuck at the place [ERROR] Running in production mode and it does not move any further.

> The node versions I updated in pom.xml are as follows:

Node V8.11.3
NPM 4.0.0

> Console log:

ubuntu@d-vikas-graylog2-plugin-dev-setup:~/code/graylog-plugin-aggregates$ mvn clean package
[INFO] Scanning for projects…
[WARNING] The project org.graylog.plugins.aggregates:graylog-plugin-aggregates:jar:2.2.4 uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See Apache Maven Enforcer Built-In Rules – Require Maven Version
[INFO] ------< org.graylog.plugins.aggregates:graylog-plugin-aggregates >------
[INFO] Building graylog-plugin-aggregates 2.2.4
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] — maven-clean-plugin:2.5:clean (default-clean) @ graylog-plugin-aggregates —
[INFO] — frontend-maven-plugin:1.0:install-node-and-npm (install node and npm) @ graylog-plugin-aggregates —
[INFO] Node v8.11.3 is already installed.
[INFO] NPM 4.0.0 is already installed.
[INFO] — frontend-maven-plugin:1.0:npm (npm install) @ graylog-plugin-aggregates —
[INFO] Running ‘npm install’ in /home/ubuntu/code/graylog-plugin-aggregates
[WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.2 (node_modules/chokidar/node_modules/fsevents):
[WARNING] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
[WARNING] npm WARN eslint-config-graylog@1.2.0 requires a peer of webpack@^3.4.1 but none was installed.
[WARNING] npm WARN reflux@0.2.13 requires a peer of react@>=0.12.2 <0.15.0 but none was installed.
[INFO] — frontend-maven-plugin:1.0:npm (npm run build) @ graylog-plugin-aggregates —
[INFO] Running ‘npm run build’ in /home/ubuntu/code/graylog-plugin-aggregates
[INFO] > Aggregates@1.0.0-SNAPSHOT build /home/ubuntu/code/graylog-plugin-aggregates
[INFO] > webpack
[ERROR] Running in production mode

you should check the issues and help of the plugin:

or invite the plugin owner to check on this.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.