[ 
https://issues.apache.org/jira/browse/YARN-10036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17278541#comment-17278541
 ] 

Akira Ajisaka commented on YARN-10036:
--------------------------------------

{noformat}
WARN engine npm@7.5.2: wanted: {"node":">=10"} (current: 
{"node":"4.2.6","npm":"3.5.2"})
WARN engine npm@7.5.2: wanted: {"node":">=10"} (current: 
{"node":"4.2.6","npm":"3.5.2"})
/usr/local/lib
`-- (empty)
npm ERR! Linux 3.10.0-1160.6.1.el7.x86_64
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "npm@latest" "-g"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! path /usr/local/lib/node_modules/.staging/@npmcli/ci-detect-c7bf9552
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 
'/usr/local/lib/node_modules/.staging/@npmcli/ci-detect-c7bf9552' -> 
'/usr/local/lib/node_modules/npm/node_modules/@npmcli/ci-detect'
npm ERR! enoent ENOENT: no such file or directory, rename 
'/usr/local/lib/node_modules/.staging/@npmcli/ci-detect-c7bf9552' -> 
'/usr/local/lib/node_modules/npm/node_modules/@npmcli/ci-detect'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent 
npm ERR! Please include the following file with any support request:
npm ERR!     /root/npm-debug.log
npm ERR! code 1
The command '/bin/bash -o pipefail -c apt-get -q update     && apt-get install 
-y --no-install-recommends nodejs npm     && apt-get clean     && rm -rf 
/var/lib/apt/lists/*     && ln -s /usr/bin/nodejs /usr/bin/node     && npm 
install npm@latest -g     && npm install -g jshint' returned a non-zero code: 1
{noformat}
Now "npm install npm@latest -g" is failing, so I'll cherry-pick this to all the 
active branches.

> Install yarnpkg and upgrade nodejs in Dockerfile
> ------------------------------------------------
>
>                 Key: YARN-10036
>                 URL: https://issues.apache.org/jira/browse/YARN-10036
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: buid, yarn-ui-v2
>            Reporter: Akira Ajisaka
>            Assignee: Akira Ajisaka
>            Priority: Major
>             Fix For: 3.3.0
>
>
> Now node.js is installed in Dockerfile but yarnpkg is not installed.
> I'd like to run "yarn upgade" command in the build env to manage and upgrade 
> the dependencies.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to