beaker icon indicating copy to clipboard operation
beaker copied to clipboard

symlink support

Open drschwabe opened this issue 5 years ago • 2 comments

Attempted to create a new hyperdrive by importing a folder containing a website I made externally, Beaker hangs and displays this error on console:

2020-09-25T17:17:33: PM2 log: Modals window says: Uncaught (in promise) CycleError: Aborting file-tree comparison, a symlink or hardlink loop was detected at /demos/heading/img

does Beaker/hyperdrive support (Linux) symlinks ?

in this case the symlink refers to a folder at ../../img and was created originally by doing : $ ln -s ../../img from said folder ie: /home/me/some-project/demos/heading/img

drschwabe avatar Sep 25 '20 23:09 drschwabe

It does support symlinks, but it's saying there's a "loop" which means you have a symlink that's leading back to itself somehow and could potentially go infinitely

pfrazee avatar Nov 16 '20 18:11 pfrazee

thanks for following up,

however I double checked and the symlink I describe in the above example works fine on my system. So perhaps this is an edge case.

I also have this particular symlink checked into Git and the same website is deployed on a server hosting it as a python simple.http server without issue. So it not working in Beaker is unexpected.

drschwabe avatar Nov 18 '20 03:11 drschwabe