You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by atreya90 <si...@here.com> on 2016/06/03 15:57:58 UTC

Failure in building web package

I am facing the following issue while compiling the source for zeppelin
(0.5.6) on Windows 10 64-bit machine.  

 --- frontend-maven-plugin:0.0.23:npm (npm install) @ zeppelin-web ---

[ERROR] npm http GET http://registry.npmjs.org/grunt-concurrent
[ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-clean
[ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-copy
[ERROR] npm http GET http://registry.npmjs.org/grunt
[ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-concat
[ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-connect
[ERROR] npm ERR! Error: connect ECONNREFUSED
[ERROR] npm ERR!     at errnoException (net.js:901:11)
[ERROR] npm ERR!     at Object.afterConnect [as oncomplete] (net.js:892:19)
[ERROR] npm ERR!  { [Error: connect ECONNREFUSED]
[ERROR] npm ERR!   code: 'ECONNREFUSED',
[ERROR] npm ERR!   errno: 'ECONNREFUSED',
[ERROR] npm ERR!   syscall: 'connect' }
[ERROR] npm ERR!
[ERROR] npm ERR! If you are behind a proxy, please make sure that the
[ERROR] npm ERR! 'proxy' config is set properly.  See: 'npm help config'
[ERROR]
[ERROR] npm ERR! System Windows_NT 6.2.9200
[ERROR] npm ERR! command
"C:\\Users\\***\\Downloads\\zeppelin-0.5.6-incubating\\zeppelin-web\\node\\node"
"C:\\Users\\****\\Downloads\\zeppelin-0.5.6-incubating\\zeppelin-web\\node\\npm\\bin\\npm-cli.js"
"install" "--color=false"
[ERROR] npm ERR! cwd
C:\Users\*****\Downloads\zeppelin-0.5.6-incubating\zeppelin-web
[ERROR] npm ERR! node -v v0.10.22
[ERROR] npm ERR! npm -v 1.3.8
[ERROR] npm ERR! syscall connect
[ERROR] npm ERR! code ECONNREFUSED
[ERROR] npm ERR! errno ECONNREFUSED
[ERROR] npm ERR! stack Error: connect ECONNREFUSED
[ERROR] npm ERR! stack     at errnoException (net.js:901:11)
[ERROR] npm ERR! stack     at Object.afterConnect [as oncomplete]
(net.js:892:19)
[ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-uglify
[ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-watch
[ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-cssmin
[ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-htmlmin
[ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-jshint
[ERROR] npm http GET http://registry.npmjs.org/grunt-newer
[ERROR] npm http GET http://registry.npmjs.org/grunt-postcss
[ERROR] npm http GET http://registry.npmjs.org/grunt-filerev
[ERROR] npm http GET http://registry.npmjs.org/grunt-svgmin
[ERROR] npm http GET http://registry.npmjs.org/grunt-ng-annotate
[ERROR] npm http GET http://registry.npmjs.org/grunt-karma
[ERROR] npm http GET http://registry.npmjs.org/karma-phantomjs-launcher
[ERROR] npm http GET http://registry.npmjs.org/grunt-wiredep
[ERROR] npm http GET http://registry.npmjs.org/load-grunt-tasks
[ERROR] npm http GET http://registry.npmjs.org/time-grunt
[ERROR] npm http GET http://registry.npmjs.org/karma-coverage
[ERROR] npm http GET http://registry.npmjs.org/grunt-cli
[ERROR] npm http GET http://registry.npmjs.org/jshint-stylish
[ERROR] npm http GET http://registry.npmjs.org/karma
[ERROR] npm http GET http://registry.npmjs.org/karma-jasmine
[ERROR] npm http GET http://registry.npmjs.org/grunt-usemin
[ERROR] npm
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 01:22 min
[INFO] Finished at: 2016-06-03T10:18:22-05:00
[INFO] Final Memory: 17M/204M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
com.github.eirslett:frontend-maven-plugin:0.0.23:npm (npm install) on
project zeppelin-web: Failed to run task: 'npm install --color=false'
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


Could someone please help me resolve this issue.
(Note- I am not behind any proxy) 




--
View this message in context: http://apache-zeppelin-users-incubating-mailing-list.75479.x6.nabble.com/Failure-in-building-web-package-tp3173.html
Sent from the Apache Zeppelin Users (incubating) mailing list mailing list archive at Nabble.com.

Re: Failure in building web package

Posted by atreya90 <si...@here.com>.
I got the same error with the first method. 
When I tried the second one, I got the following error - 

$ ./grunt build

module.js:340
    throw err;
          ^
Error: Cannot find module
'C:\Users\atreya\Downloads\zeppelin-0.5.6-incubating\zeppelin-web\node_modules\.bin\grunt'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:901:3





--
View this message in context: http://apache-zeppelin-users-incubating-mailing-list.75479.x6.nabble.com/Failure-in-building-web-package-tp3173p3236.html
Sent from the Apache Zeppelin Users (incubating) mailing list mailing list archive at Nabble.com.

Re: Failure in building web package

Posted by Corneau Damien <co...@gmail.com>.
@atreya90, can you try building only zeppelin-web?
Try both methods inside zeppelin-web folder:
* mvn package -DskipTests
*./grunt build

On Fri, Jun 10, 2016 at 12:12 AM, atreya90 <si...@here.com>
wrote:

> I tried compiling on two separate machines (windows 10 64 bit) and got the
> same error. I don't think that it is a temporary error.
>
>
>
> --
> View this message in context:
> http://apache-zeppelin-users-incubating-mailing-list.75479.x6.nabble.com/Failure-in-building-web-package-tp3173p3221.html
> Sent from the Apache Zeppelin Users (incubating) mailing list mailing list
> archive at Nabble.com.
>

Re: Failure in building web package

Posted by atreya90 <si...@here.com>.
I tried compiling on two separate machines (windows 10 64 bit) and got the
same error. I don't think that it is a temporary error.



--
View this message in context: http://apache-zeppelin-users-incubating-mailing-list.75479.x6.nabble.com/Failure-in-building-web-package-tp3173p3221.html
Sent from the Apache Zeppelin Users (incubating) mailing list mailing list archive at Nabble.com.

Re: Failure in building web package

Posted by moon soo Lee <mo...@apache.org>.
I just tried to build on osx 0.5.6, and i didn't see the error.
siddharth.atreya, could you confirm if it is temporary error or not?

Luciano, i ran your branch on my travis account and i got different errors.
Here's link[1].

But if npm error occurs too often, we maybe can try chance some configs [2]?

Thanks,
moon

[1] https://travis-ci.org/Leemoonsoo/incubator-zeppelin/builds/134651375
[2] https://docs.npmjs.com/misc/config#fetch-retries

On Fri, Jun 3, 2016 at 9:29 AM Luciano Resende <lu...@gmail.com> wrote:

> This seems to be happening in multiple areas, and starting to be more
> frequent... I am having the same issue in my scala-2.11 PR...
>
> Someone that is more familiar with the npm installation/integration should
> take a look at this...
>
> On Fri, Jun 3, 2016 at 8:57 AM, atreya90 <si...@here.com>
> wrote:
>
>> I am facing the following issue while compiling the source for zeppelin
>> (0.5.6) on Windows 10 64-bit machine.
>>
>>  --- frontend-maven-plugin:0.0.23:npm (npm install) @ zeppelin-web ---
>>
>> [ERROR] npm http GET http://registry.npmjs.org/grunt-concurrent
>> [ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-clean
>> [ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-copy
>> [ERROR] npm http GET http://registry.npmjs.org/grunt
>> [ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-concat
>> [ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-connect
>> [ERROR] npm ERR! Error: connect ECONNREFUSED
>> [ERROR] npm ERR!     at errnoException (net.js:901:11)
>> [ERROR] npm ERR!     at Object.afterConnect [as oncomplete]
>> (net.js:892:19)
>> [ERROR] npm ERR!  { [Error: connect ECONNREFUSED]
>> [ERROR] npm ERR!   code: 'ECONNREFUSED',
>> [ERROR] npm ERR!   errno: 'ECONNREFUSED',
>> [ERROR] npm ERR!   syscall: 'connect' }
>> [ERROR] npm ERR!
>> [ERROR] npm ERR! If you are behind a proxy, please make sure that the
>> [ERROR] npm ERR! 'proxy' config is set properly.  See: 'npm help config'
>> [ERROR]
>> [ERROR] npm ERR! System Windows_NT 6.2.9200
>> [ERROR] npm ERR! command
>>
>> "C:\\Users\\***\\Downloads\\zeppelin-0.5.6-incubating\\zeppelin-web\\node\\node"
>>
>> "C:\\Users\\****\\Downloads\\zeppelin-0.5.6-incubating\\zeppelin-web\\node\\npm\\bin\\npm-cli.js"
>> "install" "--color=false"
>> [ERROR] npm ERR! cwd
>> C:\Users\*****\Downloads\zeppelin-0.5.6-incubating\zeppelin-web
>> [ERROR] npm ERR! node -v v0.10.22
>> [ERROR] npm ERR! npm -v 1.3.8
>> [ERROR] npm ERR! syscall connect
>> [ERROR] npm ERR! code ECONNREFUSED
>> [ERROR] npm ERR! errno ECONNREFUSED
>> [ERROR] npm ERR! stack Error: connect ECONNREFUSED
>> [ERROR] npm ERR! stack     at errnoException (net.js:901:11)
>> [ERROR] npm ERR! stack     at Object.afterConnect [as oncomplete]
>> (net.js:892:19)
>> [ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-uglify
>> [ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-watch
>> [ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-cssmin
>> [ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-htmlmin
>> [ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-jshint
>> [ERROR] npm http GET http://registry.npmjs.org/grunt-newer
>> [ERROR] npm http GET http://registry.npmjs.org/grunt-postcss
>> [ERROR] npm http GET http://registry.npmjs.org/grunt-filerev
>> [ERROR] npm http GET http://registry.npmjs.org/grunt-svgmin
>> [ERROR] npm http GET http://registry.npmjs.org/grunt-ng-annotate
>> [ERROR] npm http GET http://registry.npmjs.org/grunt-karma
>> [ERROR] npm http GET http://registry.npmjs.org/karma-phantomjs-launcher
>> [ERROR] npm http GET http://registry.npmjs.org/grunt-wiredep
>> [ERROR] npm http GET http://registry.npmjs.org/load-grunt-tasks
>> [ERROR] npm http GET http://registry.npmjs.org/time-grunt
>> [ERROR] npm http GET http://registry.npmjs.org/karma-coverage
>> [ERROR] npm http GET http://registry.npmjs.org/grunt-cli
>> [ERROR] npm http GET http://registry.npmjs.org/jshint-stylish
>> [ERROR] npm http GET http://registry.npmjs.org/karma
>> [ERROR] npm http GET http://registry.npmjs.org/karma-jasmine
>> [ERROR] npm http GET http://registry.npmjs.org/grunt-usemin
>> [ERROR] npm
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 01:22 min
>> [INFO] Finished at: 2016-06-03T10:18:22-05:00
>> [INFO] Final Memory: 17M/204M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> com.github.eirslett:frontend-maven-plugin:0.0.23:npm (npm install) on
>> project zeppelin-web: Failed to run task: 'npm install --color=false'
>> 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
>>
>>
>> Could someone please help me resolve this issue.
>> (Note- I am not behind any proxy)
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://apache-zeppelin-users-incubating-mailing-list.75479.x6.nabble.com/Failure-in-building-web-package-tp3173.html
>> Sent from the Apache Zeppelin Users (incubating) mailing list mailing
>> list archive at Nabble.com.
>>
>
>
>
> --
> Luciano Resende
> http://twitter.com/lresende1975
> http://lresende.blogspot.com/
>

Re: Failure in building web package

Posted by Luciano Resende <lu...@gmail.com>.
This seems to be happening in multiple areas, and starting to be more
frequent... I am having the same issue in my scala-2.11 PR...

Someone that is more familiar with the npm installation/integration should
take a look at this...

On Fri, Jun 3, 2016 at 8:57 AM, atreya90 <si...@here.com> wrote:

> I am facing the following issue while compiling the source for zeppelin
> (0.5.6) on Windows 10 64-bit machine.
>
>  --- frontend-maven-plugin:0.0.23:npm (npm install) @ zeppelin-web ---
>
> [ERROR] npm http GET http://registry.npmjs.org/grunt-concurrent
> [ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-clean
> [ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-copy
> [ERROR] npm http GET http://registry.npmjs.org/grunt
> [ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-concat
> [ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-connect
> [ERROR] npm ERR! Error: connect ECONNREFUSED
> [ERROR] npm ERR!     at errnoException (net.js:901:11)
> [ERROR] npm ERR!     at Object.afterConnect [as oncomplete] (net.js:892:19)
> [ERROR] npm ERR!  { [Error: connect ECONNREFUSED]
> [ERROR] npm ERR!   code: 'ECONNREFUSED',
> [ERROR] npm ERR!   errno: 'ECONNREFUSED',
> [ERROR] npm ERR!   syscall: 'connect' }
> [ERROR] npm ERR!
> [ERROR] npm ERR! If you are behind a proxy, please make sure that the
> [ERROR] npm ERR! 'proxy' config is set properly.  See: 'npm help config'
> [ERROR]
> [ERROR] npm ERR! System Windows_NT 6.2.9200
> [ERROR] npm ERR! command
>
> "C:\\Users\\***\\Downloads\\zeppelin-0.5.6-incubating\\zeppelin-web\\node\\node"
>
> "C:\\Users\\****\\Downloads\\zeppelin-0.5.6-incubating\\zeppelin-web\\node\\npm\\bin\\npm-cli.js"
> "install" "--color=false"
> [ERROR] npm ERR! cwd
> C:\Users\*****\Downloads\zeppelin-0.5.6-incubating\zeppelin-web
> [ERROR] npm ERR! node -v v0.10.22
> [ERROR] npm ERR! npm -v 1.3.8
> [ERROR] npm ERR! syscall connect
> [ERROR] npm ERR! code ECONNREFUSED
> [ERROR] npm ERR! errno ECONNREFUSED
> [ERROR] npm ERR! stack Error: connect ECONNREFUSED
> [ERROR] npm ERR! stack     at errnoException (net.js:901:11)
> [ERROR] npm ERR! stack     at Object.afterConnect [as oncomplete]
> (net.js:892:19)
> [ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-uglify
> [ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-watch
> [ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-cssmin
> [ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-htmlmin
> [ERROR] npm http GET http://registry.npmjs.org/grunt-contrib-jshint
> [ERROR] npm http GET http://registry.npmjs.org/grunt-newer
> [ERROR] npm http GET http://registry.npmjs.org/grunt-postcss
> [ERROR] npm http GET http://registry.npmjs.org/grunt-filerev
> [ERROR] npm http GET http://registry.npmjs.org/grunt-svgmin
> [ERROR] npm http GET http://registry.npmjs.org/grunt-ng-annotate
> [ERROR] npm http GET http://registry.npmjs.org/grunt-karma
> [ERROR] npm http GET http://registry.npmjs.org/karma-phantomjs-launcher
> [ERROR] npm http GET http://registry.npmjs.org/grunt-wiredep
> [ERROR] npm http GET http://registry.npmjs.org/load-grunt-tasks
> [ERROR] npm http GET http://registry.npmjs.org/time-grunt
> [ERROR] npm http GET http://registry.npmjs.org/karma-coverage
> [ERROR] npm http GET http://registry.npmjs.org/grunt-cli
> [ERROR] npm http GET http://registry.npmjs.org/jshint-stylish
> [ERROR] npm http GET http://registry.npmjs.org/karma
> [ERROR] npm http GET http://registry.npmjs.org/karma-jasmine
> [ERROR] npm http GET http://registry.npmjs.org/grunt-usemin
> [ERROR] npm
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 01:22 min
> [INFO] Finished at: 2016-06-03T10:18:22-05:00
> [INFO] Final Memory: 17M/204M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> com.github.eirslett:frontend-maven-plugin:0.0.23:npm (npm install) on
> project zeppelin-web: Failed to run task: 'npm install --color=false'
> 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
>
>
> Could someone please help me resolve this issue.
> (Note- I am not behind any proxy)
>
>
>
>
> --
> View this message in context:
> http://apache-zeppelin-users-incubating-mailing-list.75479.x6.nabble.com/Failure-in-building-web-package-tp3173.html
> Sent from the Apache Zeppelin Users (incubating) mailing list mailing list
> archive at Nabble.com.
>



-- 
Luciano Resende
http://twitter.com/lresende1975
http://lresende.blogspot.com/