简体   繁体   中英

Running spago build returns error installing dependencies

I just started with purescript. Running spago build always return an error which says -

Failed to install dependency "effect"
Git output:
fatal: destination path '.' already exists and is not an empty directory.
Aborting installation
[error] Installation failed
[error] Error:
[error] ExitFailure 1

Any clue as to where I'm going wrong? https://i.stack.imgur.com/w4XKv.png

I just faced and solved this problem in Windows 11. The root cause of my problem was attempting to run spago inside a directory managed by Dropbox.

My solution was to move my build directory to somewhere not managed by Dropbox, but this is not ideal because I would like my work to be automatically backed up and shared between devices.

I'd be interested to hear if anyone has better solutions using spago (and git) and Dropbox together on Windows 11. Ideally, there should be some way to make git less sensitive to whatever hidden files Dropbox is sticking in folders.

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