Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm ERR! code EISDIR #18

Open
weigeloveu opened this issue Dec 17, 2020 · 4 comments
Open

npm ERR! code EISDIR #18

weigeloveu opened this issue Dec 17, 2020 · 4 comments

Comments

@weigeloveu
Copy link

weigeloveu commented Dec 17, 2020

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
@Snoopycc
Copy link

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

@weigeloveu
Copy link
Author

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

@judgegc
Copy link
Contributor

judgegc commented Jan 4, 2021

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

@weigeloveu
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants