Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

make install-demo : error "ln: failed to create symbolic link ‘web/css/microrest’" #10

Open
gautiermichelin opened this issue Feb 21, 2015 · 3 comments

Comments

@gautiermichelin
Copy link

Hi,

I'm trying to deploy microrest (and try ng-admin after that) on an empty VM, running Debian Jessie RC1, on fresh Amazon EC2 install.

Problem is at post-install-cmd inside composer.json :

admin@ip-...:/var/www/html/microrest.php/examples/ng-admin$ cat composer.json 
{
    "name": "marmelab/microrest-example",
    "description": "An example application using `marmelab/microrest`",
    "license": "MIT",
    "type": "project",
    "authors": [
        {
            "name": "Jérôme Macias",
            "email": "jerome@marmelab.com"
        }
    ],
    "require": {
        "php": ">=5.3.3",
        "ext-pdo_sqlite": "*",
        "doctrine/dbal": "~2.5",
        "jdesrosiers/silex-cors-provider": "~0.1",
        "jeromemacias/silex-debug": "~1.0@dev",
        "marmelab/microrest": "~1.0@dev",
        "silex/silex": "~1.0@dev",
        "silex/web-profiler": "~1.0",
        "symfony/config": "~2.6",
        "symfony/debug": "~2.6",
        "symfony/monolog-bridge": "~2.6",
        "symfony/twig-bridge": "~2.6"
    },
    "autoload": {
        "psr-0": { "": "src/" }
    },
    "config": {
        "bin-dir": "bin",
        "process-timeout": 0
    },
    "scripts": {
        "post-install-cmd": [
            "ln -s ../../vendor/marmelab/microrest/web/css web/css/microrest",
            "ln -s ../../vendor/marmelab/microrest/web/js web/js/microrest"
        ],
        "run": [
            "echo 'Started web server on http://localhost:8888'",
            "php -S localhost:8888 -t web/ web/index_dev.php"
        ]
    },
    "minimum-stability": "dev",
    "prefer-stable": true
}

Any hint ?

@fzaninotto
Copy link
Member

ping @jeromemacias

@jeromemacias
Copy link
Contributor

Can you send me the complete error trace please ?

@didacrios
Copy link

I had the same issue and i removed the "post-install-cmd", not solve the issue but lets you install the demo 👍

jygastaud added a commit to jygastaud/microrest.php that referenced this issue Jul 29, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants