protected static function removeNodeModules()
    {
        tap(new Filesystem, function ($files) {
            $files->deleteDirectory(base_path('node_modules'));

            $files->delete(base_path('yarn.lock'));
        });
    }
protected static function removeNodeModules()
    {
        tap(new Filesystem, function ($files) {
            $files->deleteDirectory(base_path('node_modules'));

            $files->delete(base_path('yarn.lock'));
        });
    }
protected static function removeNodeModules ( ) { tap ( new Filesystem , function ( $ files ) { $ files -> deleteDirectory ( base_path ( 'node_modules' ) ) ; $ files -> delete ( base_path ( 'yarn.lock' ) ) ; } ) ; }
Remove the installed Node modules.

@return void
Remove the installed Node modules .