OHIF / Viewers

OHIF zero-footprint DICOM viewer and oncology specific Lesion Tracker, plus shared extension packages
https://docs.ohif.org/
MIT License
2.98k stars 3.12k forks source link

[Bug] Error: EISDIR: illegal operation on a directory, symlink #4264

Closed RR2pao closed 2 days ago

RR2pao commented 4 days ago

Describe the Bug

Hello OHIF Team! I was following the installation steps (https://docs.ohif.org/development/getting-started/), when I got this error at "yarn install":

error Error: EISDIR: illegal operation on a directory, symlink 'A:\temp\Viewers-master\addOns\externals\dicom-microscopy-viewer' -> 'A:\temp\Viewers-master\node_modules\@externals\dicom-microscopy-viewer'

image

What I already tried:

Details of my setup: OS: Windows 11 user: admin

node --version v20.14.0 npm --version 10.7.0 yarn --version 1.22.22

I was cloning the current master branch of OHIF viewer.

Steps to Reproduce

  1. clone master branch
  2. yarn install

The current behavior

yarn install throws the following error: error Error: EISDIR: illegal operation on a directory, symlink 'A:\temp\Viewers-master\addOns\externals\dicom-microscopy-viewer' -> 'A:\temp\Viewers-master\node_modules\@externals\dicom-microscopy-viewer'

The expected behavior

yarn install should install dependencies.

OS

Windows 11

Node version

v20.14.0

Browser

Chrome 126.0.6478.126

sedghi commented 2 days ago

This is strange. Can you clone the repository in a new location and check if the issue persists with a fresh clone?

RR2pao commented 2 days ago

Finally figured it out. The repository was cloned to a virtual drive encoded with VeraCrypt. The format was exFAT, thats where this bug occured. I created a new VeraCrypt volume with NTFS, and it works fine.