file already exists, mkdir '.../elm-format/unpacked_bin
- Dominant language
- Haskell
- Stars
- 1.3k
- Forks
- 147
- PR merge metrics
- No merged PRs in 30d
Description
peacememories [6:11 AM]
hmm, for some reason i'm getting EEXIST errors when trying to install elm-format
"file already exists, mkdir '.../elm-format/unpacked_bin'"
not sure why the unpacked_bin dir would exist already, though
av [9:59 AM]
Maybe try removing it (with `rm -Rf "$(npm root)"/elm-format` or `rm -Rf "$(npm root -g)"/elm-format`) and then try installing again? (edited)
peacememories [2:05 AM]
i already removed the whole node_modules folder, but it comes back every install
the unpacked_bin, that is, it's pretty obvious that the node_modules folder would come back^^
i think it has something to do with npm caches
when i do `npm install elm-format` it works, but when i do `npm install` it breaks
peacememories [2:15 AM]
i've removed elm-format from my dependencies for now, which makes the install work again
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the difference between `npm install elm-format` and a full `npm install`, focusing on creation of the `unpacked_bin` directory and the reported EEXIST error. Trace the package installation path identified by that reproduction; done means a dependency install completes without the error and elm-format is available.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100