pleku/wysiwyg-e-java

Build Failure while npm install behind corperate proxy

Opened this issue · 0 comments

Hello together,

Currently I have a problem building a vaadin application (using Atlassian Bamboo) with wysiwys-e vaadin library. I make use of Vaadin's vaadin-maven-plugin (goals: prepare-frontend, build-frontend) and already installed nodejs using frontend-maven-plugin (nodeversion=12.13.1, groupid=com.github.eirslett):

`[INFO] Running npm install ...
npm WARN deprecated core-js@2.6.10: core-js@<3.0 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.

npm WARN deprecated fsevents@1.2.9: One of your dependencies needs to upgrade to fsevents v2:
Proper nodejs v10+ support 2) No more fetching binaries from AWS, smaller package size

npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t ssh://git@github.com/pleku/wysiwyg-e.git
npm ERR!
npm ERR! ssh: connect to host github.com port 22: Connection timed out
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR!
npm ERR! exited with error code: 128
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-11-21T13_21_32_795Z-debug.log`

The obvious problem is that I cannot connect to external ssh (github.com) but honestly speaking I don't understand why it is required for the library to fetch this dependency while running npm install. Is it possible to change the dependency definition so that it will be loaded via http(s)?

Please let me know if further information are required or if has nothing to do with this project :)

Best Regards,
Alex