[
https://issues.apache.org/jira/browse/FLINK-25660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17476591#comment-17476591
]
Aitozi commented on FLINK-25660:
--------------------------------
Hi, [~junhany] Do you have any idea for this ?
> Failed to build flink-runtime-web
> ---------------------------------
>
> Key: FLINK-25660
> URL: https://issues.apache.org/jira/browse/FLINK-25660
> Project: Flink
> Issue Type: Bug
> Reporter: Aitozi
> Priority: Major
>
> I clean up the local repo for org.apache.flink and rebuild the project. It
> fails at {{flink-runtime-web}}
> {code:java}
> Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.11.0:npm
> (npm install) on project flink-runtime-web: Failed to run task: 'npm ci
> --cache-max=0 --no-save' failed. org.apache.commons.exec.ExecuteException:
> Process exited with an error: 1 (Exit value: 1) -> [Help 1]{code}
> The debug log for it :
>
> {code:java}
> 166 verbose stack TypeError: Cannot read property 'resolve' of undefined166
> verbose stack at regFetch
> (/Users/aitozi/ant/work/code/community/flink-aitozi/flink/flink-runtime-web/web-dashboard/node/node_modules/npm/node_modules/npm-registry-fetch/index.js:76:23)166
> verbose stack at fromManifest
> (/Users/aitozi/ant/work/code/community/flink-aitozi/flink/flink-runtime-web/web-dashboard/node/node_modules/npm/node_modules/pacote/lib/fetchers/registry/tarball.js:55:3)166
> verbose stack at
> /Users/aitozi/ant/work/code/community/flink-aitozi/flink/flink-runtime-web/web-dashboard/node/node_modules/npm/node_modules/pacote/lib/fetchers/registry/tarball.js:38:25166
> verbose stack at tryCatcher
> (/Users/aitozi/ant/work/code/community/flink-aitozi/flink/flink-runtime-web/web-dashboard/node/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)166
> verbose stack at Promise._settlePromiseFromHandler
> (/Users/aitozi/ant/work/code/community/flink-aitozi/flink/flink-runtime-web/web-dashboard/node/node_modules/npm/node_modules/bluebird/js/release/promise.js:517:31)166
> verbose stack at Promise._settlePromise
> (/Users/aitozi/ant/work/code/community/flink-aitozi/flink/flink-runtime-web/web-dashboard/node/node_modules/npm/node_modules/bluebird/js/release/promise.js:574:18)166
> verbose stack at Promise._settlePromiseCtx
> (/Users/aitozi/ant/work/code/community/flink-aitozi/flink/flink-runtime-web/web-dashboard/node/node_modules/npm/node_modules/bluebird/js/release/promise.js:611:10)166
> verbose stack at _drainQueueStep
> (/Users/aitozi/ant/work/code/community/flink-aitozi/flink/flink-runtime-web/web-dashboard/node/node_modules/npm/node_modules/bluebird/js/release/async.js:142:12)166
> verbose stack at _drainQueue
> (/Users/aitozi/ant/work/code/community/flink-aitozi/flink/flink-runtime-web/web-dashboard/node/node_modules/npm/node_modules/bluebird/js/release/async.js:131:9)166
> verbose stack at Async._drainQueues
> (/Users/aitozi/ant/work/code/community/flink-aitozi/flink/flink-runtime-web/web-dashboard/node/node_modules/npm/node_modules/bluebird/js/release/async.js:147:5)166
> verbose stack at Immediate.Async.drainQueues [as _onImmediate]
> (/Users/aitozi/ant/work/code/community/flink-aitozi/flink/flink-runtime-web/web-dashboard/node/node_modules/npm/node_modules/bluebird/js/release/async.js:17:14)166
> verbose stack at processImmediate (internal/timers.js:439:21)167 verbose
> cwd
> /Users/aitozi/ant/work/code/community/flink-aitozi/flink/flink-runtime-web/web-dashboard168
> verbose Darwin 20.6.0169 verbose argv
> "/Users/aitozi/ant/work/code/community/flink-aitozi/flink/flink-runtime-web/web-dashboard/node/node"
>
> "/Users/aitozi/ant/work/code/community/flink-aitozi/flink/flink-runtime-web/web-dashboard/node/node_modules/npm/bin/npm-cli.js"
> "ci" "--cache-max=0" "--no-save"170 verbose node v12.14.1171 verbose npm
> v6.13.4172 error Cannot read property 'resolve' of undefined173 verbose exit
> [ 1, true ] {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)