How can i fix errror :EISDIR

how can i fix this error:

Error: EISDIR: illegal operation on a directory

thank you every body.

Hum, it seems that it’s an error about npm or yarn.
Especially with the .npmrc file (or .yarnrc).

Check https://stackoverflow.com/questions/34959038/npm-stuck-giving-the-same-error-eisdir-illegal-operation-on-a-directory-read-a

Or other error same on Google.