简体   繁体   中英

Node Js - EISDIR: illegal operation on a directory, open 'tmp'

I've facing the issue on npm 6.13.1 version, when i upload a CSV file using the multer it's response an error "EISDIR: illegal operation on a directory, open 'tmp'". I can not downgrade my npm version.

You probably have that directory locked for some other package/program.

Check your global variables to see if there is anything like export BABEL_CACHE_PATH=/tmp

Reference: https://github.com/expo/expo-cli/issues/388#issuecomment-466298734

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM