I’m following the installation steps listed here:
https://bitbucket.org/libracms/libra-cms
But I get the following error on step #3:
symlink(): Could not fetch file information(error 3)
Any ideas on how to solve it?
I’m on Windows 7.
This is step #3
php composer.phar update
This is the output it generates:
Loading composer repositories with package information
Updating dependencies
- Installing libra/jquery-assets (dev-default tip)
Cloning tip
Script LibraAssetsInstaller\Installer::postPackageInstall handling the post-pack
age-install event terminated with an exception
[ErrorException]
symlink(): Could not fetch file information(error 3)
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-custom-instal
lers] [--no-scripts] [--no-progress] [-v|--verbose] [-o|--optimize-autoloader] [
packages1] ... [packagesN]
The call to
LibraAssetsInstaller\Installer::postPackageInstallis failing becausepostPackageInstallcontains function calls that will likely not work on windows for a number of reasons: here are two.That said,
postPackageInstallis failing here specifically, likely because the paths in the call tosymlinkare not windows compatible.To make the calls interoperable with windows, the path strings need to be revised to at least use something like the
DIRECTORY_SEPARATORsystem constant mentioned here, but there may be other revisions needed as well.