talyssonoc / react-laravel

Package for using ReactJS with Laravel
895 stars 90 forks source link

talyssonoc/react-laravel v0.10.2 requires reactjs/react-php-v8js dev-maste r -> no matching package found. #50

Closed Danjavia closed 8 years ago

Danjavia commented 8 years ago

Can you restore value in package.json from dev-master to master?

talyssonoc commented 8 years ago

@Danjavia, can you show me the full error message here?

Danjavia commented 8 years ago

Yes.

php artisan clear-compiled Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1

Potential causes:

Read https://getcomposer.org/doc/articles/troubleshooting.md for further commo n problems.

talyssonoc commented 8 years ago

Did you remembered to set "minimum-stability": "dev" on your composer.json like it's said here?

Danjavia commented 8 years ago

yes I do but appear another error also

Check it:

Problem 1

Potential causes:

Read https://getcomposer.org/doc/articles/troubleshooting.md for further commo n problems.

talyssonoc commented 8 years ago

Can tou show me your composer.json, @Danjavia?

Danjavia commented 8 years ago
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
    "php": ">=5.5.9",
    "laravel/framework": "5.1.*",
    "laravel/socialite": "^2.0"
},
"require-dev": {
    "fzaninotto/faker": "~1.4",
    "mockery/mockery": "0.9.*",
    "phpunit/phpunit": "~4.0",
    "phpspec/phpspec": "~2.1",
    "ignited/laravel-omnipay": "2.*",
    "omnipay/paypal": "~2.0",
    "minimum-stability": "dev",
    "talyssonoc/react-laravel": "0.10.2"
},
"autoload": {
    "classmap": [
        "database"
    ],
    "psr-4": {
        "Infinity\\": "app/"
    },
    "files": [ "app/Http/helpers.php" ]
},
"autoload-dev": {
    "classmap": [
        "tests/TestCase.php"
    ]
},
"scripts": {
    "post-install-cmd": [
        "php artisan clear-compiled",
        "php artisan optimize"
    ],
    "pre-update-cmd": [
        "php artisan clear-compiled"
    ],
    "post-update-cmd": [
        "php artisan optimize"
    ],
    "post-root-package-install": [
        "php -r \"copy('.env.example', '.env');\""
    ],
    "post-create-project-cmd": [
        "php artisan key:generate"
    ]
},
"config": {
    "preferred-install": "dist"
}

}

talyssonoc commented 8 years ago

oh, "minimum-stability": "dev" is not a dependency, it must be in a separated key, like right before "config", something like that:

   ...
   "minimum-stability": "dev",
   "config": {
      "preferred-install": "dist"
   }
   ...
Danjavia commented 8 years ago

Ok perfect i will to try it thanks @talyssonoc

talyssonoc commented 8 years ago

Could you close the issue if it works, @Danjavia? :smile:

Danjavia commented 8 years ago

thanks again I will to write to you when I Do ;)

talyssonoc commented 8 years ago

@Danjavia did it worked?

Danjavia commented 8 years ago

Sorry I cannot yet, pls sorry I will to do in a few days :)

talyssonoc commented 8 years ago

@Danjavia?

Danjavia commented 8 years ago

Not really, sorry my boss has change the app requirements! Thx!!! :)