volodymyr-lisniak / magento-2-gulp

Gulp for Magento 2. It works with core Magento styles (less) and structure. Uses default theme configs from dev/tools/grunt/configs/local-themes.js.
MIT License
41 stars 12 forks source link

Can't find composer package #1

Closed MathijsDelva closed 4 years ago

MathijsDelva commented 4 years ago

Hello,

I'm just a beginner but i added "bobmotor/magento-2-gulp":"~1.2.0" to my root composer.json file in Magento2, and after running "composer update --prefer-source", i get the following error:


└╼ composer update --prefer-source Gathering patches for root package. 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 common problems.


Am i doing something wrong?

spyrule commented 4 years ago

I got this exact same issue.

volodymyr-lisniak commented 4 years ago

Sorry, guys, for the late reply. Now composer is updated and you can try to add these lines to your Magento project composer.json

"repositories": [
    {
        "type": "github",
        "url": "https://github.com/bobmotor/magento-2-gulp"
    }
],

and run composer require bobmotor/magento-2-gulp

Also, you can install gulp manually by copying files to the root of your project.

volodymyr-lisniak commented 4 years ago

If you will have problems with installation please reopen/open the issue.