I wonder that nobody recognised the serious bug introduced with 2.1.5 or 2.1.4. Statamic2 doesn't work at all anymore on windows. Looks path related, obviously.

Happened in 2 projects I'm currently working on, switching back to V 2.1.3 until it's fixed.

ErrorException in Local.php line 99:
mkdir(): Invalid argument

in Local.php line 99
at HandleExceptions->handleError('2', 'mkdir(): Invalid argument', 'R:\statamic\demo_com\statamic\vendor\league\flysystem\src\Adapter\Local.php', '99', array('root' => 'R:\statamic\demo_com/R:\statamic\demo_com\statamic/../local/cache/glide', 'umask' => '0'))
at mkdir('R:\statamic\demo_com/R:\statamic\demo_com\statamic/../local/cache/glide', '511', true) in Local.php line 99
at Local->ensureDirectory('R:\statamic\demo_com/R:\statamic\demo_com\statamic/../local/cache/glide') in Local.php line 75
at Local->__construct('R:\statamic\demo_com/R:\statamic\demo_com\statamic/../local/cache/glide', '2', '1', array('file' => array('public' => '511', 'private' => '448'), 'dir' => array('public' => '511', 'private' => '448'))) in FilesystemManager.php line 145
at FilesystemManager->createLocalDriver(array('driver' => 'local', 'root' => 'R:\statamic\demo_com/R:\statamic\demo_com\statamic/../local/cache/glide', 'visibility' => 'public', 'links' => 'skip', 'permissions' => array('file' => array('public' => '511', 'private' => '448'), 'dir' => array('public' => '511', 'private' => '448')))) in FilesystemManager.php line 107
at FilesystemManager->resolve('glide') in FilesystemManager.php line 85
at FilesystemManager->get('glide') in FilesystemManager.php line 74
at FilesystemManager->disk('glide') in File.php line 36
at File::disk('glide') in GlideServiceProvider.php line 27
at GlideServiceProvider->Statamic\Providers\{closure}(object(Application), array()) in Container.php line 738
at Container->build(object(Closure), array()) in Container.php line 631
at Container->make('League\Glide\Server', array()) in Application.php line 674
at Application->make('League\Glide\Server') in Container.php line 842
at Container->resolveClass(object(ReflectionParameter)) in Container.php line 805
at Container->getDependencies(array(object(ReflectionParameter)), array()) in Container.php line 774
at Container->build('Statamic\Http\Middleware\Glide', array()) in Container.php line 631
at Container->make('Statamic\Http\Middleware\Glide', array()) in Application.php line 674
at Application->make('Statamic\Http\Middleware\Glide') in Pipeline.php line 123
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Retrieve.php line 33
at Retrieve->handle(object(Request), object(Closure))
at call_user_func_array(array(object(Retrieve), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
at CheckForMaintenanceMode->handle(object(Request), object(Closure))
at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
at Pipeline->then(object(Closure)) in Kernel.php line 122
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87
at Kernel->handle(object(Request)) in index.php line 156