8000 Issue with generated autoload_static.php on Windows · Issue #6251 · composer/composer · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Issue with generated autoload_static.php on Windows #6251
Open
@mistajolly

Description

@mistajolly

Using standard laravel composer.json, diagnose is all ok.

When updating the $prefixDirsPsr4 array in autoload_static.php contains the wrong entry for 'App\'. Rather than a relative directory it uses an absolute path containing the windows drive letter. Strangely, the base install of laravel via composer works fine but this bug only shows on subsequent updates.

I can manually fix this by replacing 'W:\\ with __DIR__ . '/../..' .'.

'App\\' => 
        array (
            0 => 'W:\\/app',
        )

should be

'App\\' => 
        array (
            0 => __DIR__ . '/../..' .'/app',
        )

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0