Skip to content

Installation problems: Source path "setup" is not found #1

Open
@nuzil

Description

@nuzil

I'm follow installation instructions and got next problems:

During installation (composer install) got this error:

[RuntimeException]
  Source path "setup" is not found for package magento/setup

In composer.lock i see:

{
            "name": "magento/setup",
            "version": "dev-master",
            "dist": {
                "type": "path",
                "url": "setup",
                "reference": "7f956d8863423e052879f1b928de73780fd505c6",
                "shasum": null
            },
            "require": {
                "magento/library-console": "*",
                "php": "7.0.2|7.0.4|~7.0.6|~7.1.0"
            },
            "bin": [
                "magento"
            ],
            "type": "magento2-setup",
            "autoload": {
                "psr-4": {
                    "Magento\\Setup\\": ""
                }
            },
            "license": [
                "OSL-3.0",
                "AFL-3.0"
            ]
        },

What is "url": "setup", here? I dont get there it have to link to?

I tried to replace it with:
"url": "../source/magento2/setup/src/Magento/Setup",

But then I started to get this one:

Generating autoload files
    Skipped installation of bin magento for package magento/setup: file not found in package
magento root dir "root" missing! create now? [Y,n]

Will be happy to have a support here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions