build Flink master brach fail due to npm

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

build Flink master brach fail due to npm

刘波
Hi, users!


When I'm build the Flink master branch  from github,  it's failed due to the flink-runtime-web module.
  nodejs     v10.15.2
  npm        6.10.3

  Java        openjdk version "11.0.4" 2019-07-16
  maven     3.6.0
 
anyone got the same problem? any suggestions to  resolve it... thanks~




[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ flink-runtime-web_2.11 ---
[INFO]
[INFO] --- frontend-maven-plugin:1.6:install-node-and-npm (install node and npm) @ flink-runtime-web_2.11 ---
[INFO] Node v10.9.0 is already installed.
[INFO]
[INFO] --- frontend-maven-plugin:1.6:npm (npm install) @ flink-runtime-web_2.11 ---
[INFO] Running 'npm ci --cache-max=0 --no-save' in /home/ben/work/flink/flink-runtime-web/web-dashboard
[WARNING] npm WARN prepare removing existing node_modules/ before installation
[INFO]
[INFO] > fsevents@1.2.7 install /home/ben/work/flink/flink-runtime-web/web-dashboard/node_modules/fsevents
[INFO] > node install
[INFO]
[ERROR] Aborted (core dumped)
[INFO]
[INFO] > node-sass@4.11.0 install /home/ben/work/flink/flink-runtime-web/web-dashboard/node_modules/node-sass
[INFO] > node scripts/install.js
[INFO]
[INFO] Cached binary found at /home/ben/.npm/node-sass/4.11.0/linux-x64-64_binding.node
[ERROR] Aborted (core dumped)
[INFO]
[INFO] > husky@1.3.1 install /home/ben/work/flink/flink-runtime-web/web-dashboard/node_modules/husky
[INFO] > node husky install
[INFO]
[INFO] husky > setting up git hooks
[INFO] HUSKY_SKIP_INSTALL environment variable is set to 'true', skipping Git hooks installation.
[ERROR] Aborted (core dumped)
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! errno 134
[ERROR] npm ERR! husky@1.3.1 install: `node husky install`
[ERROR] npm ERR! Exit status 134
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the husky@1.3.1 install script.
[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[ERROR]
[ERROR] npm ERR! A complete log of this run can be found in:
[ERROR] npm ERR!     /home/ben/.npm/_logs/2019-08-20T07_59_08_468Z-debug.log
[INFO] ------------------------------------------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: build Flink master brach fail due to npm

Biao Liu
HI,

Could you try adding "-Dskip.npm" when building the project?

This is just a work-around way to skip this installation. Though I don't
have much experience of npm. Maybe someone else could help.

Thanks,
Biao /'bɪ.aʊ/



On Tue, 20 Aug 2019 at 16:23, 刘波 <[hidden email]> wrote:

> Hi, users!
>
> When I'm build the Flink master branch  from github,  it's failed due to
> the flink-runtime-web module.
>   nodejs     v10.15.2
>   npm        6.10.3
>   Java        openjdk version "11.0.4" 2019-07-16
>   maven     3.6.0
>
> anyone got the same problem? any suggestions to  resolve it... thanks~
>
>
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.5:process
> (process-resource-bundles) @ flink-runtime-web_2.11 ---
> [INFO]
> [INFO] --- frontend-maven-plugin:1.6:install-node-and-npm (install node
> and npm) @ flink-runtime-web_2.11 ---
> [INFO] Node v10.9.0 is already installed.
> [INFO]
> [INFO] --- frontend-maven-plugin:1.6:npm (npm install) @
> flink-runtime-web_2.11 ---
> [INFO] Running 'npm ci --cache-max=0 --no-save' in
> /home/ben/work/flink/flink-runtime-web/web-dashboard
> [WARNING] npm WARN prepare removing existing node_modules/ before
> installation
> [INFO]
> [INFO] > fsevents@1.2.7 install
> /home/ben/work/flink/flink-runtime-web/web-dashboard/node_modules/fsevents
> [INFO] > node install
> [INFO]
> [ERROR] Aborted (core dumped)
> [INFO]
> [INFO] > node-sass@4.11.0 install
> /home/ben/work/flink/flink-runtime-web/web-dashboard/node_modules/node-sass
> [INFO] > node scripts/install.js
> [INFO]
> [INFO] Cached binary found at
> /home/ben/.npm/node-sass/4.11.0/linux-x64-64_binding.node
> [ERROR] Aborted (core dumped)
> [INFO]
> [INFO] > husky@1.3.1 install
> /home/ben/work/flink/flink-runtime-web/web-dashboard/node_modules/husky
> [INFO] > node husky install
> [INFO]
> [INFO] husky > setting up git hooks
> [INFO] HUSKY_SKIP_INSTALL environment variable is set to 'true', skipping
> Git hooks installation.
> [ERROR] Aborted (core dumped)
> [ERROR] npm ERR! code ELIFECYCLE
> [ERROR] npm ERR! errno 134
> [ERROR] npm ERR! husky@1.3.1 install: `node husky install`
> [ERROR] npm ERR! Exit status 134
> [ERROR] npm ERR!
> [ERROR] npm ERR! Failed at the husky@1.3.1 install script.
> [ERROR] npm ERR! This is probably not a problem with npm. There is likely
> additional logging output above.
> [ERROR]
> [ERROR] npm ERR! A complete log of this run can be found in:
> [ERROR] npm ERR!
>  /home/ben/.npm/_logs/2019-08-20T07_59_08_468Z-debug.log
> [INFO]
> ------------------------------------------------------------------------
>