I am trying to build apache zeppelin using the instructions in this tutorial : Installing Zeppelig Tutorial
I installed spark 2.0 and maven 3.3.9 the latest versions. I used the following command to build zeppelin:
sudo mvn clean package -DskipTests -Psparkr -Ppyspark -Pspark-2.0 -Dflink
I got this error:
[ERROR] npm WARN unmet dependency /home/parallels/incubator-zeppelin
/zeppelin-web/node_modules/grunt-jscs/node_modules/jscs requires lodash#'~3.10.0' but will load
[ERROR] npm WARN unmet dependency /home/parallels/incubator-zeppelin/zeppelin-web/node_modules/grunt-jscs/node_modules/lodash,
[ERROR] npm WARN unmet dependency which is version 4.6.1
[ERROR] npm WARN unmet dependency /home/parallels/incubator-zeppelin/zeppelin-web/node_modules/karma-coverage/node_modules/istanbul/node_modules/handlebars requires source-map#'^0.4.4' but will load
[ERROR] npm WARN unmet dependency /home/parallels/incubator-zeppelin/zeppelin-web/node_modules/karma-coverage/node_modules/source-map,
[ERROR] npm WARN unmet dependency which is version 0.5.6
[INFO]
[INFO] --- frontend-maven-plugin:0.0.25:bower (bower install) # zeppelin-web ---
[INFO] Running 'bower --allow-root install' in /home/parallels/incubator-zeppelin/zeppelin-web
[ERROR] module.js:338
[ERROR] throw err;
[ERROR] ^
[ERROR] Error: Cannot find module 'q'
[ERROR] at Function.Module._resolveFilename (module.js:336:15)
[ERROR] at Function.Module._load (module.js:278:25)
[ERROR] at Module.require (module.js:365:17)
[ERROR] at require (module.js:384:17)
[ERROR] at Object.<anonymous> (/home/parallels/incubator-zeppelin/zeppelin-web/node_modules/bower/bin/bower:6:9)
[ERROR] at Module._compile (module.js:460:26)
[ERROR] at Object.Module._extensions..js (module.js:478:10)
[ERROR] at Module.load (module.js:355:32)
[ERROR] at Function.Module._load (module.js:310:12)
[ERROR] at Function.Module.runMain (module.js:501:10)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Zeppelin ........................................... SUCCESS [ 3.333 s]
[INFO] Zeppelin: Interpreter .............................. SUCCESS [ 12.493 s]
[INFO] Zeppelin: Zengine .................................. SUCCESS [ 7.460 s]
[INFO] Zeppelin: Display system apis ...................... SUCCESS [ 16.886 s]
[INFO] Zeppelin: Spark dependencies ....................... SUCCESS [ 33.212 s]
[INFO] Zeppelin: Spark .................................... SUCCESS [ 25.951 s]
[INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [ 0.387 s]
[INFO] Zeppelin: Angular interpreter ...................... SUCCESS [ 0.223 s]
[INFO] Zeppelin: Shell interpreter ........................ SUCCESS [ 0.287 s]
[INFO] Zeppelin: Livy interpreter ......................... SUCCESS [ 0.520 s]
[INFO] Zeppelin: HBase interpreter ........................ SUCCESS [ 3.979 s]
[INFO] Zeppelin: PostgreSQL interpreter ................... SUCCESS [ 0.488 s]
[INFO] Zeppelin: JDBC interpreter ......................... SUCCESS [ 0.694 s]
[INFO] Zeppelin: File System Interpreters ................. SUCCESS [ 0.766 s]
[INFO] Zeppelin: Flink .................................... SUCCESS [ 7.653 s]
[INFO] Zeppelin: Apache Ignite interpreter ................ SUCCESS [ 0.871 s]
[INFO] Zeppelin: Kylin interpreter ........................ SUCCESS [ 0.334 s]
[INFO] Zeppelin: Python interpreter ....................... SUCCESS [ 0.337 s]
[INFO] Zeppelin: Lens interpreter ......................... SUCCESS [ 2.984 s]
[INFO] Zeppelin: Apache Cassandra interpreter ............. SUCCESS [01:00 min]
[INFO] Zeppelin: Elasticsearch interpreter ................ SUCCESS [ 6.269 s]
[INFO] Zeppelin: BigQuery interpreter ..................... SUCCESS [ 0.833 s]
[INFO] Zeppelin: Alluxio interpreter ...................... SUCCESS [ 3.350 s]
[INFO] Zeppelin: web Application .......................... FAILURE [ 3.653 s]
[INFO] Zeppelin: Server ................................... SKIPPED
[INFO] Zeppelin: Packaging distribution ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:14 min
[INFO] Finished at: 2016-09-06T19:09:29+01:00
[INFO] Final Memory: 164M/479M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.25:bower (bower install) on project zeppelin-web: Failed to run task: 'bower --allow-root install' failed. (error code 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :zeppelin-web
There is another thread on stackoverflow with the same error and #dirceusemighini suggests to cd to zeppelin-web and run the following command. The reason i created another question is because i am a new stack user and it wont let me comment to that question.
./bower install
I have tried that and i got the following error:
module.js:338
throw err;
^
Error: Cannot find module 'q'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/home/parallels/incubator-zeppelin/zeppelin-web/node_modules/bower/bin/bower:6:9)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
parallels#ubuntu:~/incubator-zeppelin/zeppelin-web$
I have already unistall node, nodejs and npm and i reinstalled them globally
node -v : 5.0.0
npm -v : 3.3.6
bower -v: 1.7.9
Any suggestions??
The problem for me was Maven installation. I uninstall Maven and i reinstall it manually to /usr/local/apache-maven/
Then using a text editor i set the environment variables and re-run the build. Build was successful now. I don't know the actual cause of that but at the end it works..
gedit ~/.bashrc
export M2_HOME=/usr/local/apache-maven/apache-maven-3.3.9
export PATH=${M2_HOME}/bin:${PATH}
Run the build:
mvn clean package -DskipTests
Related
I am running the 32-bit build of Ubuntu 18.04 and attempting to build a 32-bit Jenkins from the source.
It fails in the last stage (see below) because it cannot find a Linux x86 build of Nodejs. They don't make 32-bit versions for Linux anymore. I'm fine with that - I have downloaded the 14.15.4 Nodejs sources and built my own 32-bit version. How can I override the Jenkins maven build that is attempting to download a non-existent package directly from the Nodejs distribution site?
I have tried prepositioning my home-built node-14.15.4-linux-x86.tar.gz in the appropriate location, but the build is getting killed because the package does not exist on the website it is attempting to download from (404 - Not Found). If I could stop it trying to download or tell it to pull the .tar.gz package from the local filesystem, I think that should fix the problem. I haven't found anything online and maven configurations are completely foreign to me.
[INFO] Installing node version v14.15.4
[INFO] Downloading https://nodejs.org/dist/v14.15.4/node-v14.15.4-linux-x86.tar.gz to /home/scott/.m2/repository/com/github/eirslett/node/14.15.4/node-14.15.4-linux-x86.tar.gz
[INFO] No proxies configured
[INFO] No proxy was configured, downloading directly
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Jenkins main module 2.275-SNAPSHOT:
[INFO]
[INFO] Jenkins main module ................................ SUCCESS [ 4.868 s]
[INFO] Jenkins BOM ........................................ SUCCESS [ 0.156 s]
[INFO] Jenkins cli ........................................ SUCCESS [ 10.285 s]
[INFO] Jenkins core ....................................... SUCCESS [01:12 min]
[INFO] Jenkins war ........................................ FAILURE [ 4.536 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:35 min
[INFO] Finished at: 2021-01-08T00:47:30-06:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.11.0:install-node-and-yarn (install node and yarn) on project jenkins-war: Could not download Node.js: Got error code 404 from the server. -> [Help 1]
When i try to create new application i receive this message
yarn install v1.5.1
info No lockfile found.
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Resolution field "source-map#0.6.1" is incompatible with
requested version "source-map#^0.5.6"
I am sorry, i was not precise enough in stating my problem.
So, as i said i receive this message while creating new application.
After the process of creating new application is over i execute this command
./mvnw package -Pprod dockerfile:build
And then this is what i see:
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------
------
[INFO] Building Jhipster Test Project 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------
------
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:copy-resources (default-
resources) # jhipster-test-project ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 15 resources
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) #
jhipster-test-project ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 15 resources
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) #
jhipster-test-project ---
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:copy-resources (docker-resources)
# jhipster-test-project ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (pre-unit-tests) #
jhipster-test-project ---
[INFO] argLine set to -javaagent:/home/igor/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/igor/JHipsterProjects/jhipster-test-project/target/test-results/coverage/jacoco/jacoco.exec -Djava.security.egd=file:/dev/./urandom -Xmx256m
[INFO]
[INFO] --- git-commit-id-plugin:2.2.4:revision (default) # jhipster-test-project ---
[INFO]
[INFO] --- spring-boot-maven-plugin:1.5.9.RELEASE:build-info (default) # jhipster-test-project ---
[INFO]
[INFO] --- frontend-maven-plugin:1.6:install-node-and-yarn (install node and yarn) # jhipster-test-project ---
[INFO] Installing node version v8.9.4
[INFO] Unpacking /home/igor/.m2/repository/com/github/eirslett/node/8.9.4/node-8.9.4-linux-x64.tar.gz into /home/igor/JHipsterProjects/jhipster-test-project/node/tmp
[INFO] Copying node binary from /home/igor/JHipsterProjects/jhipster-test-project/node/tmp/node-v8.9.4-linux-x64/bin/node to /home/igor/JHipsterProjects/jhipster-test-project/node/node
[INFO] Installed node locally.
[INFO] Installing Yarn version v1.3.2
[INFO] Unpacking /home/igor/.m2/repository/com/github/eirslett/yarn/1.3.2/yarn-1.3.2.tar.gz into /home/igor/JHipsterProjects/jhipster-test-project/node/yarn
[INFO] Installed Yarn locally.
[INFO]
[INFO] --- frontend-maven-plugin:1.6:yarn (yarn install) # jhipster-test-project ---
[INFO] Running 'yarn install --force' in /home/igor/JHipsterProjects/jhipster-test-project
[INFO] yarn install v1.3.2
[INFO] [1/5] Validating package.json...
[INFO] [2/5] Resolving packages...
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#^0.5.6"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#^0.5.6"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#^0.5.6"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#0.5.x"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#^0.5.3"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#^0.5.6"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#0.1.x"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#^0.5.3"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#^0.5.6"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#^0.5.6"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#~0.4.1"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#0.5.x"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#^0.5.7"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#~0.5.1"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#^0.4.2"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#^0.5.3"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#^0.5.6"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#^0.5.6"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#^0.5.6"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#^0.5.6"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#~0.5.0"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#^0.5.3"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#^0.5.1"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#~0.2.0"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#^0.4.4"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#^0.1.41"
[ERROR] warning Resolution field "source-map#0.6.1" is incompatible with requested version "source-map#^0.4.2"
[INFO] [3/5] Fetching packages...
[INFO] info fsevents#1.1.3: The platform "linux" is incompatible with this module.
[INFO] info "fsevents#1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[INFO] [4/5] Linking dependencies...
[ERROR] warning " > bootstrap#4.0.0" has unmet peer dependency
"popper.js#^1.12.9".
[INFO] [5/5] Rebuilding all packages...
[INFO] success Saved lockfile.
[INFO] $ node node_modules/phantomjs-prebuilt/install.js
[INFO] Found PhantomJS at /home/igor/JHipsterProjects/jhipster-test-project/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs ...verifying
[INFO] PhantomJS is previously installed at /home/igor/JHipsterProjects/jhipster-test-project/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs
[INFO] Done in 9.71s.
[INFO]
[INFO] --- frontend-maven-plugin:1.6:yarn (webpack build prod) # jhipster-test-project ---
[INFO] yarn not inheriting proxy config from Maven
[INFO] Running 'yarn run webpack:prod' in /home/igor/JHipsterProjects/jhipster-test-project
[INFO] yarn run v1.3.2
[INFO] $ yarn run cleanup && yarn run webpack:prod:main && yarn run clean-www
[INFO] $ rimraf target/{aot,www}
[INFO] $ yarn run webpack -- --config webpack/webpack.prod.js --profile
[ERROR] warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
[INFO] $ node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js --config webpack/webpack.prod.js --profile
[INFO] MergetJsonsWebpackPlugin compilation started...
[INFO] MergetJsonsWebpackPlugin compilation completed...
[ERROR] buffer.js:202
[ERROR] throw new TypeError(kFromErrorMsg);
[ERROR] ^
[ERROR]
[ERROR] TypeError: First argument must be a string, Buffer, ArrayBuffer,
Array, or array-like object.
[ERROR] at Function.Buffer.from (buffer.js:202:9)
[ERROR] at new Buffer (buffer.js:158:17)
[ERROR] at writeOut (/home/igor/JHipsterProjects/jhipster-test-project/node_modules/webpack/lib/Compiler.js:334:17)
[ERROR] at require.forEach (/home/igor/JHipsterProjects/jhipster-test-project/node_modules/webpack/lib/Compiler.js:345:12)
[ERROR] at /home/igor/JHipsterProjects/jhipster-test-project/node_modules/webpack/node_modules/async/dist/async.js:3096:16
[ERROR] at eachOfArrayLike (/home/igor/JHipsterProjects/jhipster-test-project/node_modules/webpack/node_modules/async/dist/async.js:1055:9)
[ERROR] at eachOf (/home/igor/JHipsterProjects/jhipster-test-project/node_modules/webpack/node_modules/async/dist/async.js:1103:5)
[ERROR] at Object.eachLimit (/home/igor/JHipsterProjects/jhipster-test-project/node_modules/webpack/node_modules/async/dist/async.js:3158:5)
[ERROR] at emitFiles (/home/igor/JHipsterProjects/jhipster-test-project/node_modules/webpack/lib/Compiler.js:315:21)
[ERROR] at /home/igor/JHipsterProjects/jhipster-test-project/node_modules/mkdirp/index.js:30:20
[ERROR] at FSReqWrap.oncomplete (fs.js:135:15)
[ERROR] error Command failed with exit code 1.
enter code here[INFO] info Visit https://yarnpkg.com/en/docs/cli/run for
documentation about this command.
[ERROR] error Command failed with exit code 1.
[INFO] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[ERROR] error Command failed with exit code 1.
[INFO] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 42.200 s
[INFO] Finished at: 2018-03-07T23:12:19+01:00
[INFO] Final Memory: 32M/397M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:yarn (webpack build prod) on project jhipster-test-project: Failed to run task: 'yarn run webpack:prod' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1
(Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
So my question is what could be a problem?
This is fixed in JHipster 4.14.1, see https://github.com/jhipster/generator-jhipster/issues/7188
NPM version (npm --v): 5.4.2
Gulp version (gulp -v): CLI#1.4.0, Local#3.9.1
JHipster version: 4.6.1
Node version: 6.11.3
I'm unable to build a production package. Running the application completes without issues and the same goes for building a package with 'dev' profile.
For some reason when I run ".\mvnw -Pprod package" on the project's root directory I get this error:
[INFO] [17:15:22] Starting 'inject:vendor'...
[INFO] [17:15:22] Starting 'ngconstant:prod'...
[INFO] [17:15:22] Starting 'copy:languages'...
[ERROR] events.js:160
[ERROR] throw er; // Unhandled 'error' event
[ERROR] ^
[ERROR]
[ERROR] Error: File not found with singular glob: D:\GitHub\Agora\AgoraWeb\src\main\webapp\.htaccess
[ERROR] at Glob.<anonymous> (D:\GitHub\Agora\AgoraWeb\node_modules\glob-stream\index.js:41:11)
[ERROR] at Glob.g (events.js:292:16)
[ERROR] at emitOne (events.js:96:13)
[ERROR] at Glob.emit (events.js:188:7)
[ERROR] at Glob._finish (D:\GitHub\Agora\AgoraWeb\node_modules\glob-stream\node_modules\glob\glob.js:172:8)
[ERROR] at done (D:\GitHub\Agora\AgoraWeb\node_modules\glob-stream\node_modules\glob\glob.js:159:12)
[ERROR] at Glob._processSimple2 (D:\GitHub\Agora\AgoraWeb\node_modules\glob-stream\node_modules\glob\glob.js:652:12)
[ERROR] at D:\GitHub\Agora\AgoraWeb\node_modules\glob-stream\node_modules\glob\glob.js:640:10
[ERROR] at Glob._stat2 (D:\GitHub\Agora\AgoraWeb\node_modules\glob-stream\node_modules\glob\glob.js:736:12)
[ERROR] at lstatcb_ (D:\GitHub\Agora\AgoraWeb\node_modules\glob-stream\node_modules\glob\glob.js:728:12)
[ERROR] at RES (D:\GitHub\Agora\AgoraWeb\node_modules\inflight\inflight.js:31:16)
[ERROR] at f (D:\GitHub\Agora\AgoraWeb\node_modules\once\once.js:25:25)
[ERROR] at FSReqWrap.oncomplete (fs.js:123:15)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.257 s
[INFO] Finished at: 2017-10-02T17:15:22+02:00
[INFO] Final Memory: 38M/467M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.4:gulp (gulp build) on project agora: Failed to run task: 'gulp build --no-notification' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
I understand what it's telling me, I'm missing the .htaccess file but I never needed it before. I recently moved the project from my main drive to the backup drive and since then I can't generate a production package.
If I create an empty ".htaccess" where gulp needs it I get this other error:
[INFO] [17:21:43] Finished 'inject:app' after 2.94 s
[INFO] [17:21:43] Starting 'inject:troubleshoot'...
[INFO] [17:21:43] 'inject:troubleshoot' errored after 1.01 ms
[INFO] [17:21:43] Error: Invalid glob argument:
[INFO] at Gulp.src (D:\GitHub\Agora\AgoraWeb\node_modules\vinyl-fs\lib\src\index.js:32:11)
[INFO] at Gulp.troubleshoot (D:\GitHub\Agora\AgoraWeb\gulp\inject.js:61:27)
[INFO] at module.exports (D:\GitHub\Agora\AgoraWeb\node_modules\orchestrator\lib\runTask.js:34:7)
[INFO] at Gulp.Orchestrator._runTask (D:\GitHub\Agora\AgoraWeb\node_modules\orchestrator\index.js:273:3)
[INFO] at Gulp.Orchestrator._runStep (D:\GitHub\Agora\AgoraWeb\node_modules\orchestrator\index.js:214:10)
[INFO] at Gulp.Orchestrator.start (D:\GitHub\Agora\AgoraWeb\node_modules\orchestrator\index.js:134:8)
[INFO] at runNextSet (D:\GitHub\Agora\AgoraWeb\node_modules\run-sequence\index.js:123:15)
[INFO] at Gulp.onTaskEnd (D:\GitHub\Agora\AgoraWeb\node_modules\run-sequence\index.js:101:4)
[INFO] at emitOne (events.js:101:20)
[INFO] at Gulp.emit (events.js:188:7)
[INFO] at Gulp.Orchestrator._emitTaskDone (D:\GitHub\Agora\AgoraWeb\node_modules\orchestrator\index.js:264:8)
[INFO] at D:\GitHub\Agora\AgoraWeb\node_modules\orchestrator\index.js:275:23
[INFO] at finish (D:\GitHub\Agora\AgoraWeb\node_modules\orchestrator\lib\runTask.js:21:8)
[INFO] at D:\GitHub\Agora\AgoraWeb\node_modules\orchestrator\lib\runTask.js:52:4
[INFO] at f (D:\GitHub\Agora\AgoraWeb\node_modules\orchestrator\node_modules\once\once.js:17:25)
[INFO] at DestroyableTransform.onend (D:\GitHub\Agora\AgoraWeb\node_modules\orchestrator\node_modules\end-of-stream\index.js:31:18)
[INFO] [17:21:43] 'build' errored after 3.98 s
[INFO] [17:21:43] Error in plugin 'run-sequence(inject:troubleshoot)'
[INFO] Message:
[INFO] Invalid glob argument:
[INFO] Stack:
[INFO] Error: Invalid glob argument:
[INFO] at Gulp.src (D:\GitHub\Agora\AgoraWeb\node_modules\vinyl-fs\lib\src\index.js:32:11)
[INFO] at Gulp.troubleshoot (D:\GitHub\Agora\AgoraWeb\gulp\inject.js:61:27)
[INFO] at module.exports (D:\GitHub\Agora\AgoraWeb\node_modules\orchestrator\lib\runTask.js:34:7)
[INFO] at Gulp.Orchestrator._runTask (D:\GitHub\Agora\AgoraWeb\node_modules\orchestrator\index.js:273:3)
[INFO] at Gulp.Orchestrator._runStep (D:\GitHub\Agora\AgoraWeb\node_modules\orchestrator\index.js:214:10)
[INFO] at Gulp.Orchestrator.start (D:\GitHub\Agora\AgoraWeb\node_modules\orchestrator\index.js:134:8)
[INFO] at runNextSet (D:\GitHub\Agora\AgoraWeb\node_modules\run-sequence\index.js:123:15)
[INFO] at Gulp.onTaskEnd (D:\GitHub\Agora\AgoraWeb\node_modules\run-sequence\index.js:101:4)
[INFO] at emitOne (events.js:101:20)
[INFO] at Gulp.emit (events.js:188:7)
[INFO] at Gulp.Orchestrator._emitTaskDone (D:\GitHub\Agora\AgoraWeb\node_modules\orchestrator\index.js:264:8)
[INFO] at D:\GitHub\Agora\AgoraWeb\node_modules\orchestrator\index.js:275:23
[INFO] at finish (D:\GitHub\Agora\AgoraWeb\node_modules\orchestrator\lib\runTask.js:21:8)
[INFO] at D:\GitHub\Agora\AgoraWeb\node_modules\orchestrator\lib\runTask.js:52:4
[INFO] at f (D:\GitHub\Agora\AgoraWeb\node_modules\orchestrator\node_modules\once\once.js:17:25)
[INFO] at DestroyableTransform.onend (D:\GitHub\Agora\AgoraWeb\node_modules\orchestrator\node_modules\end-of-stream\index.js:31:18)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.220 s
[INFO] Finished at: 2017-10-02T17:21:43+02:00
[INFO] Final Memory: 36M/367M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.4:gulp (gulp build) on project agora: Failed to run task: 'gulp build --no-notification' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
(Sorry for the long logs)
I have tried many things, including the full deletion of the repo and cloning it again. I've also tried clearing NPM's cache as advised in this answer. At this point I don't know what else to try.
Thanks !!
I have solved this problem. Gaƫl Marziou put me in the right track to investigate conflicting versions of node or gulp.
After testing various versions of node, both local and global I tried disabling gulp tasks one by one, none of them helped me really even though the error messages did change. So I tried messing with gulp versions, and that was the answer.
I solved my problem by changing the following line in my package.json:
"gulp": "^3.9.1",
to this:
"gulp": "3.9.1",
And now everything builds perfectly.
Thank you very much :)
I cloned master Neo4j on Github and tried to build it:
mvn clean install -DfullBuild -Dlicense.skip=true
Result:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Neo4j .............................................. SUCCESS [ 1.917 s]
[INFO] Neo4j - Licensing configuration .................... SUCCESS [ 0.769 s]
[INFO] Neo4j - Primitive Collections ...................... SUCCESS [ 43.278 s]
[INFO] Neo4j - IO ......................................... SUCCESS [01:50 min]
[INFO] Neo4j - CSV reading and parsing .................... SUCCESS [ 5.461 s]
[INFO] Neo4j - Graph Database Kernel ...................... SUCCESS [03:59 min]
[INFO] Neo4j - JMX support ................................ SUCCESS [ 7.138 s]
[INFO] Neo4j - Usage Data Collection ...................... SUCCESS [ 10.788 s]
[INFO] Neo4j - Monitor Logging ............................ SUCCESS [ 7.750 s]
[INFO] Neo4j - Graphviz generation ........................ SUCCESS [ 7.947 s]
[INFO] Neo4j - Lucene Index ............................... SUCCESS [01:45 min]
[INFO] Neo4j - Graph Algorithms ........................... SUCCESS [ 11.222 s]
[INFO] Neo4j - Graph Matching ............................. SUCCESS [ 7.938 s]
[INFO] Neo4j - Community Cypher Build ..................... SUCCESS [ 3.658 s]
[INFO] Neo4j - Cypher Compiler 2.2 ........................ SUCCESS [04:34 min]
[INFO] Neo4j - Cypher ..................................... SUCCESS [04:29 min]
[INFO] Neo4j - Consistency Checker ........................ SUCCESS [01:10 min]
[INFO] Neo4j - Community .................................. SUCCESS [02:22 min]
[INFO] Neo4j - Community .................................. SUCCESS [ 0.079 s]
[INFO] Neo4j - Generic shell .............................. SUCCESS [01:19 min]
[INFO] Neo4j - Import Command Line Tool ................... SUCCESS [ 31.435 s]
[INFO] Neo4j - Examples ................................... SUCCESS [ 34.906 s]
[INFO] Neo4j - Server API ................................. SUCCESS [ 7.443 s]
[INFO] Neo4j - Browser .................................... SUCCESS [ 57.323 s]
[INFO] Neo4j - Server ..................................... SUCCESS [04:31 min]
[INFO] Neo4j - Test Harness ............................... SUCCESS [ 26.720 s]
[INFO] Neo4j - Server Plugin Tests ........................ SUCCESS [ 14.821 s]
[INFO] Neo4j - Server Examples ............................ SUCCESS [ 25.881 s]
[INFO] Neo4j - UDC Integration ............................ SUCCESS [ 10.245 s]
[INFO] Neo4j - GraphGist .................................. SUCCESS [ 27.983 s]
[INFO] Neo4j - Cypher Documentation ....................... SUCCESS [01:42 min]
[INFO] Neo4j - Cypher Reference Card Tests ................ SUCCESS [ 27.326 s]
[INFO] Neo4j - Community Build ............................ SUCCESS [ 0.077 s]
[INFO] Neo4j - Graph DB Monitoring and Management tools ... SUCCESS [ 10.148 s]
[INFO] Neo4j - Advanced ................................... SUCCESS [ 8.685 s]
[INFO] Neo4j - Advanced Server ............................ SUCCESS [ 21.165 s]
[INFO] Neo4j - Advanced Build ............................. SUCCESS [ 0.064 s]
[INFO] Neo4j - Query Logging .............................. SUCCESS [ 8.720 s]
[INFO] Neo4j - Communication Package ...................... SUCCESS [ 18.359 s]
[INFO] Neo4j - Clustering Infrastructure .................. SUCCESS [ 25.807 s]
[INFO] Neo4j - Backup Tool ................................ SUCCESS [01:22 min]
[INFO] Neo4j - High Availability .......................... SUCCESS [24:19 min]
[INFO] Neo4j - Enterprise ................................. SUCCESS [ 10.279 s]
[INFO] Neo4j - Enterprise Server .......................... SUCCESS [07:02 min]
[INFO] Neo4j - Enterprise Performance Tests ............... SUCCESS [ 41.132 s]
[INFO] Neo4j - Enterprise Build ........................... SUCCESS [ 0.056 s]
[INFO] Neo4j - Integration Tests .......................... SUCCESS [ 49.037 s]
[INFO] Neo4j - Page Cache Stress Tests .................... SUCCESS [ 0.097 s]
[INFO] Neo4j Javadocs ..................................... SUCCESS [ 9.582 s]
[INFO] Neo4j Cypher Reference Card ........................ SUCCESS [ 42.708 s]
[INFO] Neo4j - Reference Manual Contents .................. SUCCESS [ 4.565 s]
[INFO] Neo4j - Reference Manual ........................... SUCCESS [09:49 min]
[INFO] Neo4j - Server Assembler ........................... SUCCESS [ 1.083 s]
[INFO] Neo4j Community - Server Assembler ................. SUCCESS [ 5.669 s]
[INFO] Neo4j Advanced - Server Assembler .................. SUCCESS [ 5.255 s]
[INFO] Neo4j Enterprise - Server Assembler ................ SUCCESS [ 5.249 s]
[INFO] Neo4j Desktop ...................................... SUCCESS [ 51.900 s]
[INFO] Neo4j Packaging Build .............................. SUCCESS [ 0.049 s]
[INFO] Neo4j Debian Installers ............................ FAILURE [ 4.538 s]
[INFO] Neo4j RPM Installers ............................... SKIPPED
[INFO] Neo4j Community RPM ................................ SKIPPED
[INFO] Neo4j Advanced RPM ................................. SKIPPED
[INFO] Neo4j Community RPM ................................ SKIPPED
[INFO] Neo4j Linux Installers ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:22 h
[INFO] Finished at: 2015-02-27T19:37:24+00:00
[INFO] Final Memory: 308M/493M
[INFO] -----------------------------------------------------------------------
I want to build community installer/package for mac which I assume is the last on the list above (Neo4j Linux Installers) but is skipped because of the Debian Installers failure, because it can't find 'debuild' command. What is best way to resolve this?
I have found out that the missing command is used to build Debain packages but can't find a way to install it on my Mac.
Not familiar with mavern; is there a way to exclude the Debian and possibly RPM Installers from the build on my Mac, if Linux installer does not depend on these.
Inside of neo's pom.xml you'll see this:
<profile>
<id>neo-full-build</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>fullBuild</name>
</property>
</activation>
<modules>
<module>manual</module>
<module>packaging</module>
<module>packaging/installer-linux</module>
</modules>
<properties>
<attach-docs-phase>verify</attach-docs-phase>
</properties>
</profile>
You see that bit where it includes <module>packaging/installer-linux</module>? The debian installer package is underneath of that. If you remove that line, I believe the full build will not descend into that directory, attempt to build a debian package (or any other linux, e.g. redhat RPM).
I use Apache Hadoop 1.0.3 and I also install mongoDB.
I also install SBT but when I install mongoDB Hadoop driver then it gives me following error:
[root#linux ~]# cd /var/www/htdocs/hadoop/mongo-hadoop/
[root#linux mongo-hadoop]# sbt package
[info] Loading project definition from /var/www/htdocs/hadoop/mongo-hadoop/project
[info] Updating {file:/var/www/htdocs/hadoop/mongo-hadoop/project/}default-a7139c...
[info] Resolving com.eed3si9n#sbt-assembly;0.7.3 ...
[warn] module not found: com.eed3si9n#sbt-assembly;0.7.3
[warn] ==== typesafe-ivy-releases: tried
[warn] http://repo.typesafe.com/typesafe/ivy-releases/com.eed3si9n/sbt-assembly/scala_2.9.1/sbt_0.11.3/0.7.3/ivys/ivy.xml
[warn] ==== local: tried
[warn] /root/.ivy2/local/com.eed3si9n/sbt-assembly/scala_2.9.1/sbt_0.11.3/0.7.3/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn] http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/com.eed3si9n/sbt-assembly/scala_2.9.1/sbt_0.11.3/0.7.3/ivys/ivy.xml
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/eed3si9n/sbt-assembly_2.9.1_0.11.3/0.7.3/sbt-assembly-0.7.3.pom
[info] Resolving net.virtual-void#sbt-dependency-graph;0.5.2 ...
[info] Resolving org.scala-sbt#sbt_2.9.1;0.11.3 ...
[info] Resolving org.scala-sbt#main_2.9.1;0.11.3 ...
[info] Resolving org.scala-sbt#actions_2.9.1;0.11.3 ...
[info] Resolving org.scala-sbt#classfile_2.9.1;0.11.3 ...
[info] Resolving org.scala-sbt#io_2.9.1;0.11.3 ...
[info] Resolving org.scala-sbt#control_2.9.1;0.11.3 ...
[info] Resolving org.scala-lang#scala-library;2.9.1 ...
[info] Resolving org.scala-sbt#interface;0.11.3 ...
[info] Resolving org.scala-sbt#logging_2.9.1;0.11.3 ...
[info] Resolving org.scala-sbt#process_2.9.1;0.11.3 ...
[info] Resolving org.scala-sbt#classpath_2.9.1;0.11.3 ...
[info] Resolving org.scala-sbt#launcher-interface_2.9.1;0.11.3 ...
[info] Resolving org.scala-lang#scala-compiler;2.9.1 ...
[info] Resolving org.scala-sbt#incremental-compiler_2.9.1;0.11.3 ...
[info] Resolving org.scala-sbt#collections_2.9.1;0.11.3 ...
[info] Resolving org.scala-sbt#api_2.9.1;0.11.3 ...
[info] Resolving org.scala-sbt#persist_2.9.1;0.11.3 ...
[info] Resolving org.scala-tools.sbinary#sbinary_2.9.0;0.4.0 ...
[info] Resolving org.scala-sbt#compile_2.9.1;0.11.3 ...
[info] Resolving org.scala-sbt#ivy_2.9.1;0.11.3 ...
[info] Resolving org.apache.ivy#ivy;2.2.0 ...
[info] Resolving com.jcraft#jsch;0.1.46 ...
[info] Resolving commons-httpclient#commons-httpclient;3.1 ...
[info] Resolving commons-logging#commons-logging;1.0.4 ...
[info] Resolving commons-codec#commons-codec;1.2 ...
[info] Resolving org.scala-sbt#completion_2.9.1;0.11.3 ...
[info] Resolving jline#jline;0.9.94 ...
[info] Resolving org.scala-sbt#run_2.9.1;0.11.3 ...
[info] Resolving org.scala-sbt#task-system_2.9.1;0.11.3 ...
[info] Resolving org.scala-sbt#tasks_2.9.1;0.11.3 ...
[info] Resolving org.scala-sbt#tracking_2.9.1;0.11.3 ...
[info] Resolving org.scala-sbt#cache_2.9.1;0.11.3 ...
[info] Resolving org.scala-sbt#testing_2.9.1;0.11.3 ...
[info] Resolving org.scala-tools.testing#test-interface;0.5 ...
[info] Resolving org.scala-sbt#compiler-interface;0.11.3 ...
[info] Resolving org.scala-sbt#precompiled-2_8_2;0.11.3 ...
[info] Resolving org.scala-sbt#precompiled-2_8_1;0.11.3 ...
[info] Resolving org.scala-sbt#precompiled-2_9_2;0.11.3 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.eed3si9n#sbt-assembly;0.7.3: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] com.eed3si9n:sbt-assembly:0.7.3 (sbtVersion=0.11.3, scalaVersion=2.9.1)
[warn]
[error] {file:/var/www/htdocs/hadoop/mongo-hadoop/project/}default-a7139c/*:update: sbt.ResolveException: unresolved dependency: com.eed3si9n#sbt-assembly;0.7.3: not found
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?
I tried also to install sbt-assembly but it give me a dependency error.
I've answered this on the MongoDB Google Group also but here it is again.
I was able to reproduce your problem running Ubuntu 12:04, x64.
From the output, the error is due to being unable to find sbt-assembly07.3. AFAIK, the current version of the sbt-assembly plugin is 0.8.1, whilst in (your case) the /var/www/htdocs/hadoop/mongo-hadoop/projects/plugins.sbt file that it's configured to look for is 0.7.3.
I modified my equivalent plugins.sbt file to look like
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.8.1")
and the mongo-hadoop driver will then install successfully (though it does take a while -> "[success] Total time: 849 s, completed 15-Jun-2012 17:10:15" ).
Update: User confirmed on Google Groups that this resolved his issue. There was a later issue (regarding JAR files) that was resolved by following the Quick Start Guide here.