joyBox icon indicating copy to clipboard operation
joyBox copied to clipboard

npm ERR! code EISDIR

Open weigeloveu opened this issue 5 years ago • 4 comments

Step 7/32 : RUN npm i     && mv ./node_modules/@types/jsonstream ./node_modules/@types/JSONStream
 ---> Running in b2263074c919
npm ERR! code EISDIR
npm ERR! syscall copyfile
npm ERR! path /app/node_modules/chownr
npm ERR! dest /app/node_modules/.chownr-cyv3QNXu
npm ERR! errno -21
npm ERR! EISDIR: illegal operation on a directory, copyfile '/app/node_modules/chownr' -> '/app/node_modules/.chownr-cyv3QNXu'

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-12-17T13_56_05_099Z-debug.log
The command '/bin/sh -c npm i     && mv ./node_modules/@types/jsonstream ./node_modules/@types/JSONStream' returned a non-zero code: 235

weigeloveu avatar Dec 17 '20 14:12 weigeloveu

Unfortunately, I have exactly the same problem. Have you found a solution in the time since?

Snoopycc avatar Dec 29 '20 07:12 Snoopycc

Unfortunately, I have exactly the same problem. Have you found a solution in the time since?

no,but old version still works,nothing could too do but to wait update

weigeloveu avatar Jan 03 '21 03:01 weigeloveu

As temporary fix. In Dockerfile replace RUN npm i \ && mv ./node_modules/@types/jsonstream ./node_modules/@types/JSONStream with RUN rm -rf /app/node_modules/chownr \ && npm i \ && mv ./node_modules/@types/jsonstream ./node_modules/@types/JSONStream

judgegc avatar Jan 04 '21 20:01 judgegc

As temporary fix. In Dockerfile replace RUN npm i \ && mv ./node_modules/@types/jsonstream ./node_modules/@types/JSONStream with RUN rm -rf /app/node_modules/chownr \ && npm i \ && mv ./node_modules/@types/jsonstream ./node_modules/@types/JSONStream

thanks,its a big help

weigeloveu avatar Jan 06 '21 13:01 weigeloveu