This is still an issue on many linux based installations.
The issue is, that under Linux (Ubuntu in my case, but others too) it is not possible to symlink between partitions via node. The error is clear:
Error: EXDEV: cross-device link not permitted, rename '/tmp/local-VE2z1ni4E/package' -> '/home/patrick/.config/Local/addons/@getflywheel-local-addon-image-optimizer'
/home and / are on two different partitions.
The solution is also quite simple (at least a lazy google search said so): node.js - What does the "EXDEV: cross-device link not permitted" error mean? - Stack Overflow - in short, use copy instead of rename.
For us people stuck on this issue there are two ways to solve this:
Method 1: follow the CLI output and copy it manually (this way you know where Local wants the files to be)
- start Local via CLI
/opt/Local/local
, log in to your Local account and load the plugin screen - click install on the plugin you wish to install
- change back to the CLI and look for the
Error: EXDEV: cross-device link not permitted
line, take note of the two folders - run
cp -R $FOLDER1 $FOLDER2
with the two folders in that error line. - rinse and repeat with other plugins
- close Local and start it again.
- the plugins should be available.
Method 2: Click the Repository link on the plugin you want to install and follow the instructions in the repository how to build and install locally.