mstdmstd

Experience

5,260

0 Best Reply Awards

  • Member Since 1 Year Ago
  • 1 Lesson Completed
  • 0 Favorites

21st July, 2018

mstdmstd started a new conversation Error Attaching Datatables Library • 14 hours ago

Hello, In my laravel 5.6 application I try to install datatables library as it is written here https://datatables.yajrabox.com/starter But I have problems with commom layout, as I have javascript error: $(...).DataTable is not a function

In my app layout resources/views/layouts/app.blade.php I wrote :

<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- CSRF Token -->
    <meta name="csrf-token" content="{{ csrf_token() }}">

    <title>{{ config('app.name', 'Laravel') }}</title>

    <!-- Scripts -->
    <script src="{{ asset('js/app.js') }}{{  "?dt=".time()  }}" defer></script>

    <!-- Fonts -->
    <link rel="dns-prefetch" href="https://fonts.gstatic.com">
    <link href="https://fonts.googleapis.com/css?family=Raleway:300,400,600" rel="stylesheet" type="text/css">


    <!-- Styles -->
    <link href="{{ asset('css/app.css') }}" rel="stylesheet">
    <link rel="stylesheet" href="{{ asset('/css/jquery.dataTables.min.css') }}">

    <script src="{{ asset('js/jquery-1.10.2.min.js') }}"></script>

</head>
<body>
    <div id="app">


        <nav class="navbar navbar-expand-md navbar-light navbar-laravel">
            <div class="container">
            ...
            </div>
        </nav>

        <main class="py-4">
            @yield('content')
        </main>
    </div>

    @yield('scripts')


</body>
</html>

In the listing resources/views/admin/vote_category/index.blade.php:

@extends('layouts.app')

@section('content')

    <table class="table table-bordered" id="users-table">
        <thead>
        <tr>
            <th>Id</th>
            ...
            <th>Updated At</th>
        </tr>
        </thead>
    </table>

    @include('layouts.footer')

@endsection


@section('scripts')
    <script src="{{ asset('js/jquery.dataTables.min.js') }}"></script>
    <script src="{{ asset('js/vote_category.js') }}"></script>
@endsection

In the script above in scripts section i attach dataTables script and my vote_category.js where I keep all my js functionality

and in public/js/vote_category.js:

$(document).ready(function () {

    alert("users-table::" + (-123))
    $('#users-table').DataTable({
        processing: true,
        serverSide: true,
        ajax: {
            url: '/admin/get_vote_categories_dt_listing',
            data: function (d) {
                d.product_name = $("#filter_product_name_short").val();
            },
        }, // ajax: {

        columns: [
            {data: 'id', name: 'id'},
            {data: 'name', name: 'name'},
            ...
        ]
    });

});

I got console error :

vote_category.js:7 Uncaught TypeError: $(...).DataTable is not a function
    at HTMLDocument.<anonymous> (vote_category.js:7)
    at c (jquery-1.10.2.min.js:4)
    at Object.fireWith [as resolveWith] (jquery-1.10.2.min.js:4)
    at Function.ready (jquery-1.10.2.min.js:4)
    at HTMLDocument.q (jquery-1.10.2.min.js:4)

In in network template I see all ny files attached ok in order I suppose valid : https://imgur.com/a/5f7FPDz

Why error and how to fix it ?

Thanks!

17th July, 2018

mstdmstd left a reply on How To To Install Mustache.php Library • 4 days ago

like the docs show

could you please give a link ?

16th July, 2018

mstdmstd started a new conversation How To To Install Mustache.php Library • 5 days ago

Hello,

In my laravel 5.6 application I need to install mustache.php library I googled and find this link: https://github.com/bobthecow/mustache.php/wiki

I added a line inyo my composer.json :

  "mustache/mustache": "~2.5"

But have I to add this provider into config/app.php ? If yes, which syntax? How correctly to attach mustache.php to my app ?

Thanks!

10th July, 2018

mstdmstd started a new conversation How To Slug Table With I18n Support • 1 week ago

Hello!

In my Laravel Framework 5.6/Postgres10 application I want to add i18n support to rt_cms_items table adding new table rt_cms_item_translations

CREATE TABLE public.rt_cms_items (
    id serial NOT NULL,
    alias varchar(100) NOT NULL,
    image varchar(50) NULL,
    icon varchar(50) NULL,
    user_id int4 NOT NULL,
    published bool NULL DEFAULT false,
)

CREATE TABLE public.rt_cms_item_translations (
    id serial NOT NULL,
    cms_item_id int4 NOT NULL,
    title varchar(100) NOT NULL,
    short_descr varchar(255) NOT NULL,
    content text NOT NULL,
    locale varchar(255) NOT NULL,
)

But the thing is that CmsItem model has slugged field and I use spatie/laravel-sluggable for its support and now I have that title and alias fields are in different table, like in app/CmsItem.php:

<?php

namespace App;

use Spatie\Sluggable\HasSlug;
use Spatie\Sluggable\SlugOptions;
use Illuminate\Database\Eloquent\Model;
use App\CmsItemTranslation;
...

class CmsItem extends MyAppModel
{
    use HasSlug;

    public $translatedAttributes = ['title', 'short_descr', 'content'];

    protected $table = 'cms_items';
    protected $primaryKey = 'id';
    public $timestamps = false;


    public function getSlugOptions() : SlugOptions
    {
        return SlugOptions::create()
            ->generateSlugsFrom('title')  // THIS FIELD MOVED TO CmsItemTranslation table !!!
            ->saveSlugsTo('alias');
    }


    public function cmsItemTranslations()
    {
        return $this->hasMany('App\CmsItemTranslation');
    }

and in app/CmsItemTranslation.php:

<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use App\CmsItem;


class CmsItemTranslation extends MyAppModel
{
    use funcsTrait;
    protected $table = 'cms_item_translations';
    protected $primaryKey = 'id';
    public $timestamps = false;
    protected $fillable = ['cms_item_id', 'locale', 'title', 'short_descr', 'content'];


    public function cmsItem()
    {
        return $this->belongsTo('App\CmsItem');
    }
    ...


}

In descrtiption of spatie/laravel-sluggable I found:

You can also pass a callable to generateSlugsFrom.

So I tried :

    public function getSlugOptions() : SlugOptions
    {
        return SlugOptions::create()
            ->generateSlugsFrom( [$this,'getAliasSlugs'] )
            ->saveSlugsTo('alias');
    }

    public function getAliasSlugs()
    {
        $request= new request();
        $title = $request->get('title');

        
        return $title;
    }

But I have alias field with values “-1”, “-2”. Looks like a way to get title field is invalid.

Which is the right way ?

Thanks!

7th July, 2018

mstdmstd left a reply on How Update Name Field In Migrations • 2 weeks ago

Sorry, if I put my questions in poor way. I do not need to modify structure of the table, but some key value. I mean that I had a seeder, which set value of some field by seeder :

\App\Models\StorageSpaceStatus::insert(
            [
                ['id' => 2, 'name' => 'Booked',         'color' => '#008000'],
            ]
        );

Now I need to modify name field with other value and I did not find update method(similar insert above). I want to generate sql like:

UPDATE storage_space_statuses SET name='OTHER VALUE' where name = ‘Booked’

Thanks!

6th July, 2018

mstdmstd started a new conversation How Update Name Field In Migrations • 2 weeks ago

Hello, If there is a way in migrations to update name field of the table. I had a seeder like:

        \App\Models\StorageSpaceStatus::insert(
            [
                ['id' => 1, 'name' => 'Available',      'color' => '#FFA500'],
                ['id' => 2, 'name' => 'Booked',         'color' => '#008000'],
            ]
        );

Now I need to modify name of the

'name' = 'Booked'

Which is the valid way to do it?

laravel 5.5

Thanks!

27th June, 2018

mstdmstd started a new conversation ERROR : [email protected] Requires A Peer Of [email protected]^6.0.0 But None Is Installed • 3 weeks ago

Hello!

I tried to install by command :

npm install vue-localstorage --save

as it is written at https://github.com/pinguinjkeke/vue-local-storage

but I got a message in console :

npm WARN [email protected] requires a peer of [email protected]^6.0.0 but none is installed. You must install peer dependencies yourself.

and now even after I removed a package I got error :

$ npm install
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN [email protected] requires a peer of [email protected]^6.0.0 but none is installed. You must install peer dependencies yourself.

npm ERR! path /mnt/_work_sdb8/wwwroot/lar/ArtistsRating/node_modules/.node-sass.DELETE/vendor/linux-x64-64
npm ERR! code ENOTEMPTY
npm ERR! errno -39
npm ERR! syscall rmdir
npm ERR! ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/lar/ArtistsRating/node_modules/.node-sass.DELETE/vendor/linux-x64-64'

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/serge/.npm/_logs/2018-06-27T04_48_31_252Z-debug.log

and in the file /home/serge/.npm/_logs/2018-06-27T04_48_31_252Z-debug.log above there is the same error :

24655 warn [email protected] requires a peer of [email protected]^6.0.0 but none is installed. You must ```
install peer dependencies yourself.

I am not sure if that was error related with vue-localstorage, but how to fix it ?

$ lsb_release -d; uname -r; uname -i Description: Ubuntu 18.04 LTS 4.15.0-23-generic x86_64

$ nodejs --version v10.5.0

$ npm --version 6.1.0

$ php artisan --version Laravel Framework 5.6.26


Thanks!

26th June, 2018

mstdmstd left a reply on How To Set Vue Component When Root Of Site Is Opened • 3 weeks ago

I tried to comment the firts root path, like :

const routes = [
    {
        // path: '/',
        components: {
            notFound: NotFound,
            appLogin: AppLogin,
            // appRoot: AppRoot,
            userRegister: UserRegister,
            userProfile: UserProfile,
            homePage: HomePage,
            testPage: TestPage,
            // stepperValidationPage: StepperValidationPage,
            datetimePickersValidationPage: DatetimePickersValidationPage,
            cmsItemPage: CmsItemPage,
            dashboardIndex: DashboardIndex,
            artistsIndex: ArtistsIndex,
            artistEditor: ArtistEdit,
            artistView:   ArtistView,

            genresIndex: GenresIndex,
            genreEditor: GenreEdit,

            cMSItemsIndex: CMSItemsIndex,
            cMSItemEditor: CMSItemEdit,
            backendMsgPage: BackendMsgPage,
            msgPage: MsgPage,

            contactPage: Contact,
            artistConcertPage: ArtistConcertPage,
            artistPage: ArtistPage,
            songPage: SongPage,
            songsWithSimilarTitlesPage: SongsWithSimilarTitles,
            settingsIndex: SettingsIndex,
            chartReportsPage: ChartReports,

        }
    },
    //             cmsItemPage: CmsItemPage,

    {path: '/not-found/:invalid_url?', component: NotFound, name: 'notFound'},
    {path: '/login', component: AppLogin, name: 'appLogin'},
    {
        path: '/',
       component: AppRoot, name: 'appRoot'
    },
    {path: '/register', component: UserRegister, name: 'userRegister'},
   ...

But in this case I got error in my console :

app.js?dt=1530007729:73635 Uncaught Error: [vue-router] "path" is required in a route configuration.
    at assert (app.js?dt=1530007729:73635)
    at addRouteRecord (app.js?dt=1530007729:74771)
    at app.js?dt=1530007729:74741
    at Array.forEach (<anonymous>)
    at createRouteMap (app.js?dt=1530007729:74740)
    at createMatcher (app.js?dt=1530007729:74961)
    at new VueRouter (app.js?dt=1530007729:76055)
    at Object._typeof (app.js?dt=1530007729:4945)
    at __webpack_require__ (app.js?dt=1530007729:20)
    at Object.<anonymous> (app.js?dt=1530007729:50854)

Could you give me example how route must be done here ?

25th June, 2018

mstdmstd started a new conversation Errors Running Npm Install • 3 weeks ago

Hello, I need to run laravel application on my local

$ lsb_release -d; uname -r; uname -i
Description:    Ubuntu 18.04 LTS
4.15.0-23-generic
x86_64


$ nodejs --version 
v10.5.0


$ npm --version  
6.1.0


$ php artisan --version
Laravel Framework 5.6.26


$ composer install
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 70 installs, 0 updates, 0 removals
  - Installing vlucas/phpdotenv (v2.4.0): Loading from cache
  - Installing symfony/css-selector (v4.1.1): Loading from cache
  - Installing tijsverkoyen/css-to-inline-styles (2.2.1): Loading from cache
  - Installing symfony/polyfill-php72 (v1.8.0): Loading from cache
  - Installing symfony/polyfill-mbstring (v1.8.0): Loading from cache
  - Installing symfony/var-dumper (v4.1.1): Loading from cache
  - Installing symfony/routing (v4.1.1): Loading from cache
  - Installing symfony/process (v4.1.1): Loading from cache
  - Installing symfony/polyfill-ctype (v1.8.0): Loading from cache
  - Installing symfony/http-foundation (v4.1.1): Loading from cache
  - Installing symfony/event-dispatcher (v4.1.1): Loading from cache
  - Installing psr/log (1.0.2): Loading from cache
  - Installing symfony/debug (v4.1.1): Loading from cache
  - Installing symfony/http-kernel (v4.1.1): Loading from cache
  - Installing paragonie/random_compat (v2.0.15): Loading from cache
  - Installing symfony/finder (v4.1.1): Loading from cache
  - Installing symfony/console (v4.1.1): Loading from cache
  - Installing doctrine/lexer (v1.0.1): Loading from cache
  - Installing egulias/email-validator (2.1.4): Loading from cache
  - Installing swiftmailer/swiftmailer (v6.0.2): Loading from cache
  - Installing ramsey/uuid (3.7.3): Loading from cache
  - Installing psr/simple-cache (1.0.1): Loading from cache
  - Installing psr/container (1.0.0): Loading from cache
  - Installing symfony/translation (v4.1.1): Loading from cache
  - Installing nesbot/carbon (1.25.0): Loading from cache
  - Installing monolog/monolog (1.23.0): Loading from cache
  - Installing league/flysystem (1.0.45): Loading from cache
  - Installing erusev/parsedown (1.7.1): Loading from cache
  - Installing dragonmantank/cron-expression (v2.2.0): Loading from cache                                                                                                                                                                    
  - Installing doctrine/inflector (v1.3.0): Loading from cache                                                                                                                                                                               
  - Installing laravel/framework (v5.6.26): Loading from cache                                                                                                                                                                               
  - Installing fideloper/proxy (4.0.0): Loading from cache                                                                                                                                                                                   
  - Installing nikic/php-parser (v4.0.2): Loading from cache                                                                                                                                                                                 
  - Installing jakub-onderka/php-console-color (0.1): Loading from cache                                                                                                                                                                     
  - Installing jakub-onderka/php-console-highlighter (v0.3.2): Loading from cache                                                                                                                                                            
  - Installing dnoegel/php-xdg-base-dir (0.1): Loading from cache                                                                                                                                                                            
  - Installing psy/psysh (v0.9.6): Loading from cache                                                                                                                                                                                        
  - Installing laravel/tinker (v1.0.7): Loading from cache                                                                                                                                                                                   
  - Installing fzaninotto/faker (v1.7.1): Loading from cache                                                                                                                                                                                 
  - Installing hamcrest/hamcrest-php (v2.0.0): Loading from cache                                                                                                                                                                            
  - Installing mockery/mockery (1.1.0): Loading from cache                                                                                                                                                                                   
  - Installing filp/whoops (2.2.0): Loading from cache                                                                                                                                                                                       
  - Installing nunomaduro/collision (v2.0.3): Loading from cache                                                                                                                                                                             
  - Installing sebastian/version (2.0.1): Loading from cache                                                                                                                                                                                 
  - Installing sebastian/resource-operations (1.0.0): Loading from cache
  - Installing sebastian/object-reflector (1.1.1): Loading from cache
  - Installing sebastian/recursion-context (3.0.0): Loading from cache
  - Installing sebastian/object-enumerator (3.0.3): Loading from cache
  - Installing sebastian/global-state (2.0.0): Loading from cache
  - Installing sebastian/exporter (3.1.0): Loading from cache
  - Installing sebastian/environment (3.1.0): Loading from cache
  - Installing sebastian/diff (3.0.1): Loading from cache
  - Installing sebastian/comparator (3.0.1): Loading from cache
  - Installing phpunit/php-timer (2.0.0): Loading from cache
  - Installing phpunit/php-text-template (1.2.1): Loading from cache
  - Installing phpunit/php-file-iterator (2.0.1): Loading from cache
  - Installing theseer/tokenizer (1.1.0): Loading from cache
  - Installing sebastian/code-unit-reverse-lookup (1.0.1): Loading from cache
  - Installing phpunit/php-token-stream (3.0.0): Loading from cache
  - Installing phpunit/php-code-coverage (6.0.7): Loading from cache
  - Installing doctrine/instantiator (1.1.0): Loading from cache
  - Installing webmozart/assert (1.3.0): Loading from cache
  - Installing phpdocumentor/reflection-common (1.0.1): Loading from cache
  - Installing phpdocumentor/type-resolver (0.4.0): Loading from cache
  - Installing phpdocumentor/reflection-docblock (4.3.0): Loading from cache
  - Installing phpspec/prophecy (1.7.6): Loading from cache
  - Installing phar-io/version (1.0.1): Loading from cache
  - Installing phar-io/manifest (1.0.1): Loading from cache
  - Installing myclabs/deep-copy (1.8.1): Loading from cache
  - Installing phpunit/phpunit (7.2.6): Loading from cache
symfony/var-dumper suggests installing ext-intl (To show region name in time zone dump)
symfony/routing suggests installing doctrine/annotations (For using the annotation loader)
symfony/routing suggests installing symfony/config (For using the all-in-one router or any loader)
symfony/routing suggests installing symfony/dependency-injection (For loading routes from a service)
symfony/routing suggests installing symfony/expression-language (For using expression matching)
symfony/routing suggests installing symfony/yaml (For using the YAML loader)
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/http-kernel suggests installing symfony/browser-kit ()
symfony/http-kernel suggests installing symfony/config ()
symfony/http-kernel suggests installing symfony/dependency-injection ()
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
symfony/console suggests installing symfony/lock ()
egulias/email-validator suggests installing ext-intl (PHP Internationalization Libraries are required to use the SpoofChecking validation)
ramsey/uuid suggests installing ircmaxell/random-lib (Provides RandomLib for use with the RandomLibAdapter)
ramsey/uuid suggests installing ext-libsodium (Provides the PECL libsodium extension for use with the SodiumRandomGenerator)
ramsey/uuid suggests installing ext-uuid (Provides the PECL UUID extension for use with the PeclUuidTimeGenerator and PeclUuidRandomGenerator)
ramsey/uuid suggests installing moontoast/math (Provides support for converting UUID to 128-bit integer (in string form).)
ramsey/uuid suggests installing ramsey/uuid-doctrine (Allows the use of Ramsey\Uuid\Uuid as Doctrine field type.)
ramsey/uuid suggests installing ramsey/uuid-console (A console application for generating UUIDs with ramsey/uuid)
symfony/translation suggests installing symfony/config ()
symfony/translation suggests installing symfony/yaml ()
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
league/flysystem suggests installing league/flysystem-aws-s3-v2 (Allows you to use S3 storage with AWS SDK v2)
league/flysystem suggests installing league/flysystem-aws-s3-v3 (Allows you to use S3 storage with AWS SDK v3)
league/flysystem suggests installing league/flysystem-azure (Allows you to use Windows Azure Blob storage)
league/flysystem suggests installing league/flysystem-cached-adapter (Flysystem adapter decorator for metadata caching)
league/flysystem suggests installing league/flysystem-eventable-filesystem (Allows you to use EventableFilesystem)
league/flysystem suggests installing league/flysystem-rackspace (Allows you to use Rackspace Cloud Files)
league/flysystem suggests installing league/flysystem-sftp (Allows you to use SFTP server storage via phpseclib)
league/flysystem suggests installing league/flysystem-webdav (Allows you to use WebDAV storage)
league/flysystem suggests installing league/flysystem-ziparchive (Allows you to use ZipArchive adapter)
league/flysystem suggests installing spatie/flysystem-dropbox (Allows you to use Dropbox storage)
league/flysystem suggests installing srmklive/flysystem-dropbox-v2 (Allows you to use Dropbox storage for PHP 5 applications)
laravel/framework suggests installing aws/aws-sdk-php (Required to use the SQS queue driver and SES mail driver (~3.0).)
laravel/framework suggests installing doctrine/dbal (Required to rename columns and drop SQLite columns (~2.6).)
laravel/framework suggests installing guzzlehttp/guzzle (Required to use the Mailgun and Mandrill mail drivers and the ping methods on schedules (~6.0).)
laravel/framework suggests installing league/flysystem-aws-s3-v3 (Required to use the Flysystem S3 driver (~1.0).)
laravel/framework suggests installing league/flysystem-cached-adapter (Required to use the Flysystem cache (~1.0).)
laravel/framework suggests installing league/flysystem-rackspace (Required to use the Flysystem Rackspace driver (~1.0).)
laravel/framework suggests installing league/flysystem-sftp (Required to use the Flysystem SFTP driver (~1.0).)
laravel/framework suggests installing nexmo/client (Required to use the Nexmo transport (~1.0).)
laravel/framework suggests installing pda/pheanstalk (Required to use the beanstalk queue driver (~3.0).)
laravel/framework suggests installing predis/predis (Required to use the redis cache and queue drivers (~1.0).)
laravel/framework suggests installing pusher/pusher-php-server (Required to use the Pusher broadcast driver (~3.0).)
laravel/framework suggests installing symfony/dom-crawler (Required to use most of the crawler integration testing tools (~4.0).)
laravel/framework suggests installing symfony/psr-http-message-bridge (Required to psr7 bridging features (~1.0).)
psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to work.)
psy/psysh suggests installing hoa/console (A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit.)
filp/whoops suggests installing whoops/soap (Formats errors as SOAP responses)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/php-code-coverage suggests installing ext-xdebug (^2.6.0)
phpunit/phpunit suggests installing phpunit/php-invoker (^2.0)
phpunit/phpunit suggests installing ext-soap (*)
phpunit/phpunit suggests installing ext-xdebug (*)
Writing lock file
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover
Discovered Package: fideloper/proxy
Discovered Package: laravel/tinker
Discovered Package: nunomaduro/collision
Package manifest generated successfully.

But I have errors running npm install :

$ npm install

> [email protected] install /mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/node-sass
> node scripts/install.js

Cached binary found at /home/serge/.npm/node-sass/4.9.0/linux-x64-64_binding.node

> [email protected] postinstall /mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/webpack/node_modules/uglifyjs-webpack-plugin
> node lib/post_install.js


> [email protected] postinstall /mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/node-sass
> node scripts/build.js

Binary found at /mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/node-sass/vendor/linux-x64-64/binding.node
Testing binary
Binary is fine

> [email protected] postinstall /mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/gifsicle
> node lib/install.js

  ✔ gifsicle pre-build test passed successfully

> [email protected] postinstall /mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/mozjpeg
> node lib/install.js

  ✔ mozjpeg pre-build test passed successfully

> [email protected] postinstall /mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/optipng-bin
> node lib/install.js

  ✔ optipng pre-build test passed successfully

> [email protected] postinstall /mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin
> node lib/install.js

  ⚠ The `/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/vendor/pngquant` binary doesn't seem to work correctly
  ⚠ pngquant pre-build test failed
  ℹ compiling from source
  ✔ pngquant pre-build test passed successfully
  ✖ Error: pngquant failed to build, make sure that libpng-dev is installed
    at Promise.all.then.arr (/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/bin-build/node_modules/execa/index.js:231:11)
    at process._tickCallback (internal/process/next_tick.js:68:7)
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/decompress-response'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/p-cancelable'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/p-reduce'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/isurl'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/decompress-tarbz2/node_modules/file-type'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/ext-list'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/download/node_modules/get-stream'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/got/node_modules/get-stream'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/file-type'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/p-map-series'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/download/node_modules/pify'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/mimic-response'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/is-natural-number'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/p-event'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/pify'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/decompress-unzip/node_modules/file-type'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/strip-dirs'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/get-proxy'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/sort-keys-length'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/get-stream'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/url-to-options'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/tunnel-agent'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/ext-name'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/decompress-targz'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/p-timeout'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/caw'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/bin-build/node_modules/get-stream'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/duplexer3'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/decompress-tar'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/base64-js'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/decompress'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/execa/node_modules/get-stream'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/filenamify'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/filename-reserved-regex'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/timed-out'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/img-loader'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/has-to-string-tag-x'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/config-chain'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/bin-build/node_modules/execa'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/npm-conf'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/proto-list'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/is-object'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/unbzip2-stream'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/has-symbol-support-x'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/execa/node_modules/cross-spawn'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/buffer'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/laravel-mix'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/execa/node_modules/cross-spawn'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/bin-build/node_modules/get-stream'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/decompress-targz'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/download/node_modules/get-stream'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/decompress-tarbz2/node_modules/file-type'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/got/node_modules/get-stream'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/pngquant-bin/node_modules/decompress-unzip/node_modules/file-type'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk/node_modules/imagemin-pngquant/node_modules/cross-spawn'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node lib/install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/serge/.npm/_logs/2018-06-26T03_35_30_550Z-debug.log

and I have file /home/serge/.npm/_logs/2018-06-26T03_35_30_550Z-debug.log(more 800 kb), so last lines with errors :

34849 silly saveTree │ └── [email protected]
34849 silly saveTree ├── [email protected]
34849 silly saveTree ├── [email protected]
34849 silly saveTree └── [email protected]
34850 warn optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
34851 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
34852 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS:    darwin
34852 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch:  any
34852 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS:   linux
34852 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
34853 verbose stack Error: [email protected] postinstall: `node lib/install.js`
34853 verbose stack Exit status 1
34853 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:304:16)
34853 verbose stack     at EventEmitter.emit (events.js:182:13)
34853 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
34853 verbose stack     at ChildProcess.emit (events.js:182:13)
34853 verbose stack     at maybeClose (internal/child_process.js:961:16)
34853 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)
34854 verbose pkgid [email protected]
34855 verbose cwd /mnt/_work_sdb8/wwwroot/ukfxdev/new.exchangerates.org.uk
34856 verbose Linux 4.15.0-23-generic
34857 verbose argv "/usr/bin/node" "/usr/bin/npm" "install"
34858 verbose node v10.5.0
34859 verbose npm  v6.1.0
34860 error code ELIFECYCLE
34861 error errno 1
34862 error [email protected] postinstall: `node lib/install.js`
34862 error Exit status 1
34863 error Failed at the [email protected] postinstall script.
34863 error This is probably not a problem with npm. There is likely additional logging output above.
34864 verbose exit [ 1, true ]

Why I have errors and how to fix them ?

Thanks!

mstdmstd started a new conversation How To Set Vue Component When Root Of Site Is Opened • 3 weeks ago

Hello! In my laravel 5.6/vue.js 2.5.7 / vuetify": "^1.0.8" I need to set vue component when root of site is opened I mean when I run url

http://local-artists-rating.com

see url reopened:

http://local-artists-rating.com/#/

It has navbar, footer defined in my pages, but not any content I defined in resources/assets/js/components/appRoot.vue.

In my resources/assets/js/app.js:

require('./bootstrap');

window.Vue = require('vue');

import Vue from 'vue'

import VueRouter from 'vue-router';
window.Vue.use(VueRouter);

...
import AppRoot from './components/appRoot.vue';
...

const routes = [
{
    path: '/',
    components: {
        ...
        appRoot: AppRoot,
        ...

    }
    ...

    {path: '/not-found/:invalid_url?', component: NotFound, name: 'notFound'},
    {path: '/login', component: AppLogin, name: 'appLogin'},
    {path: '/', component: AppRoot, name: 'appRoot'},
}
    ...

const router = new VueRouter( {
    mode: 'hash', // default
    routes
})


router.beforeEach((to, from, next) => {
    if (!to.matched.length) {
        next(  '/not-found/'+encodeURIComponent(to.path)  );
    } else {
        next();
    }
})



...

new Vue({ router, i18n,

    data:{
        app_title: '',
    },

    mixins : [appMixin],

    created() {
    }, // created() {

    mounted() {

    }, // mounted(){


} ).$mount('#app')  // new Vue({ router,

If I commented line :

path: '/',
at top of routes definitions, I got error in console:
app.js?dt=1529909735:73635 Uncaught Error: [vue-router] "path" is required in a route configuration.
    at assert (app.js?dt=1529909735:73635)
    at addRouteRecord (app.js?dt=1529909735:74771)
    at app.js?dt=1529909735:74741
    at Array.forEach (<anonymous>)
    at createRouteMap (app.js?dt=1529909735:74740)
    at createMatcher (app.js?dt=1529909735:74961)
    at new VueRouter (app.js?dt=1529909735:76055)
    at Object._typeof (app.js?dt=1529909735:4945)
    at __webpack_require__ (app.js?dt=1529909735:20)
    at Object.<anonymous> (app.js?dt=1529909735:50854)

In my resources/views/layouts/app.blade.php:

<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
    <?php $current_template= 'artists_rating_light' ?>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Cache-Control" content="no-cache">

    <!-- CSRF Token -->
    <meta name="csrf-token" content="{{ csrf_token() }}">

    <title id="app_title">{{ config('app.name', 'Laravel') }}</title>


    <link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.css">
    <link href="https://use.fontawesome.com/releases/v5.0.8/css/all.css" rel="stylesheet">

</head>

<body>

<div id="app">

    <backend-app-layout></backend-app-layout>

</div>

    @include('layouts.footer')
    <script src="{{ asset('js/app.js'    ) }}{{  "?dt=".time()  }}"></script>

</body>

</html>

Which is the right way ?

Thanks!

19th June, 2018

mstdmstd left a reply on How From Login Controller Run VueRouter Path • 1 month ago

Sorry, I still search for a decision! I found a way :

            $url= "/home#/admin/dashboard/google_new_user/" . urlencode($loggedUser->username);
            return redirect($url);

Sometimes it works, but not always and I do not is there is a valid way of this?

15th June, 2018

mstdmstd started a new conversation How In Vue.js / Vue-router / Vue-i18n To Switch Between Languages? • 1 month ago

Hello, In my laravel 5.6 / vue.js 2.5.7/ vue-router": "^3.0.1" / Bootstrap4.1.0 application I added i18n support using https://github.com/kazupon/vue-i18n (^7.8.0") plugin

Can you please advice/give reference to a suitable plugin/script to switch between languages?

Thanks!

13th June, 2018

mstdmstd started a new conversation How To Import Data From Magento 1.9 Into Laravel 5.5 • 1 month ago

Hello,

Having Laravel Framework 5.5.40 I need to import data from Magento 1.9 I found this https://github.com/michaelkmartin/laravel-magento-integration plugin

Bit it is Compatible with Laravel 4 only.

I tried to install it and got errors:

$ composer update
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
    - The requested package tinyrocket/magento 1.0.* is satisfiable by tinyrocket/magento[1.0.x-dev] but these conflict with your requirements or minimum-stability.

Can you advice some Compatible with Laravel 5.5 tool ?

Thanks!

7th June, 2018

mstdmstd started a new conversation With Eloquent To Make Search By 2 Fields • 1 month ago

Hello, If there si a way in laravel 5.6 with eloquent to make search with condition:

- need to check if sale_price is set then search in sale_price else in retail_price

?

Have I use condition like :

  \DB::raw( ‘ isNull( sale_price, retail_price ) > 10’ )

? and how to make in search above if both sale_price and retail_price are null?

Or there is better decision ?

Thanks!

5th June, 2018

mstdmstd left a reply on I Have Require Is Not Defined Error • 1 month ago

In the comments of the example there was fixing issue using Mustache.js: https://github.com/yajra/laravel-datatables/issues/1511 I follow it, as :

@extends('layouts.master')

@section('content')


    <table class="table table-bordered" id="users-table">
        <thead>
        <tr>
            <th>Id</th>
            <th>Name</th>
            <th>Email</th>
            <th>Created At</th>
            <th>Updated At</th>
        </tr>
        </thead>
    </table>

@stop

@push('scripts')

    <script src="//cdnjs.cloudflare.com/ajax/libs/mustache.js/2.3.0/mustache.min.js"></script>

    <script id="details-template" type="mustache/x-tmpl">
    <table class="table">
        <tr>
            <td>Full name:</td>
            <td><%name%></td>
        </tr>
        <tr>
            <td>Email:</td>
            <td><%email%></td>
        </tr>
        <tr>
            <td>Extra info:</td>
            <td>And any further details here (images etc)...</td>
        </tr>
    </table>
    </script>

    <script  >

        $(function() {

            Mustache.tags = ["<%", "%>"];
            var template = $('#details-template').html();

            console.log("template::")
            console.log( template )

            var table= $('#users-table').DataTable({
                processing: true,
                serverSide: true,
                ajax: '{!! route('get_users') !!}',
                columns: [
                    {
                        "className":      'details-control',
                        "orderable":      false,
                        "searchable":     false,
                        "data":           null,
                        "defaultContent": ''
                    },
                    
                    { data: 'id', name: 'id' },
                    { data: 'name', name: 'name' },
                    { data: 'email', name: 'email' },
                    { data: 'created_at', name: 'created_at' },
                    { data: 'updated_at', name: 'updated_at' }
                ]
            });


            // Add event listener for opening and closing details
            $('#users-table tbody').on('click', 'td.details-control', function () {
                console.log( '-1' )
                var tr = $(this).closest('tr');
                console.log("-2 tr::")
                console.log( tr )

                var row = table.row( tr );
                console.log("-3 row::")
                console.log( row )


                if ( row.child.isShown() ) {
                    // This row is already open - close it
                    row.child.hide();
                    tr.removeClass('shown');
                }
                else {
                    // Open this row
//                    row.child( template(row.data()) ).show();
                    row.child( Mustache.render(template, row.data()) ).show();
                    console.log("row::")
                    console.log( row )


                    tr.addClass('shown');
                }
            });
        });
    </script>

@endpush

And I got error :

jquery.dataTables.min.js:59 Uncaught TypeError: Cannot read property 'style' of undefined
    at Ga (jquery.dataTables.min.js:59)
    at ga (jquery.dataTables.min.js:45)
    at HTMLTableElement.<anonymous> (jquery.dataTables.min.js:93)
    at Function.each (jquery.js:383)
    at jQuery.fn.init.each (jquery.js:136)
    at jQuery.fn.init.m [as dataTable] (jquery.dataTables.min.js:83)
    at jQuery.fn.init.P.h.fn.DataTable (jquery.dataTables.min.js:159)
    at HTMLDocument.<anonymous> (index:89)
    at fire (jquery.js:3119)
    at Object.fireWith [as resolveWith] (jquery.js:323```
1)

Looking at the console the template code was found: https://imgur.com/a/WOJPsUw as there were misunderstanding of where to put the template

I have no error if to remove the definition of the first column:
                    {
                        "className":      'details-control',
                    ...

Is there a way to fix it ?

mstdmstd left a reply on I Have Require Is Not Defined Error • 1 month ago

With resource https://stackoverflow.com/questions/950087/how-do-i-include-a-javascript-file-in-another-javascript-file I try to fix the error by example :

I just wrote this JavaScript code (using Prototype for DOM manipulation):

For tis I copied file /public/js/require.js ( Prototype JavaScript framework, version 1.7.2 ) and file public/js/require.js by url https://gist.github.com/nornagon/284442

and in my blade template :

<script src="/js/prototype.js"></script>
<script src="/js/require.js"></script>
@section('javascript')

and got error :

Uncaught TypeError: element.attachEvent is not a function
    at observeStandardEvent (prototype.js:6950)
    at observe (prototype.js:6940)
    at HTMLScriptElement._methodized [as observe] (prototype.js:456)
    at require.js:21
    at showArticleListing (articles:1021)
    at HTMLDocument.<anonymous> (articles:896)
    at c (app.js:24)
    at u (app.js:24)

on a line :

            var Handlebars = require('handlebars');

On the link above there were several example of attaching js files. But my case is different , as having error :

Uncaught ReferenceError: Handlebars is not defined

I tried to include Handlebars, but in my project there is no any file like Handlebars.js...

?

3rd June, 2018

mstdmstd left a reply on I Have Require Is Not Defined Error • 1 month ago

after googlingI I installed

npm install requirejs 

with output

+ [email protected]
added 1 package from 1 contributor in 26.245s

But it did not help, I still get error :

ReferenceError: require is not

Have to include requirejs in some config files or in my script and how if yes?

2nd June, 2018

mstdmstd started a new conversation I Have Require Is Not Defined Error • 1 month ago

Hello,

Trying to implement datatables row-details functionality(https://datatables.yajrabox.com/eloquent/row-details) in my laravel 5.5.40/ Voyager template( "tcg/voyager": "^1.0" )/ Bootstrap 3.3.7 application I encountered an error:

app.js:24 Uncaught ReferenceError: Handlebars is not defined

Googling, I found a decision :

var Handlebars = require('handlebars');

But I got an error:

articles:915 Uncaught ReferenceError: require is not defined

I found which files are attached in the file config/voyager.php:

   ...
    // Here you can specify additional assets you would like to be included in the master.blade
    'additional_css' => [
        'css/bootstrap-tagsinput-typeahead.css',
        'css/bootstrap-tagsinput.css',
        'css/bootstrap-treeview.css',
        'css/customisation.css',
        'css/spectrum.css',
    ],

    'additional_js' => [
        'js/bootstrap-tagsinput.js',
        'js/spectrum.js',
    ],

... Can you give a hint, which file/plugin have I to attach to the list above? In the project I found a file /node_modules/webpack/lib/RequireJsStuffPlugin.js Is it what I need and how to attach it ?

Thanks!

24th May, 2018

mstdmstd started a new conversation How From Login Controller Run VueRouter Path • 1 month ago

Hello! In my laravel 5.6/vue.js / 2.5 / VueRouter 3.0.1 application I make login using twitter and in app/Http/Controllers/Auth/LoginController.php I have methods to auth twitter user. After that I need to show some common message , pointing to component, which I usually call as:

        <router-link :to="{name: 'msgPage', params: {msg: 'sometext', type:'warning', redirect: 'redirect_url'} }">
                Smg Test
        </router-link>

which is rendered into url like:

http://local-artists-rating.com/home#/admin/msg/sometext111%20222%20333/error/login

But I wander how correctly run from php control VueRouter component ?

Thanks!

19th May, 2018

mstdmstd started a new conversation Error Registering On Twitter With Socialite Library • 2 months ago

Hello! In my laravel 5.6 application I want to make register on my app using twitter with https://laravel.com/docs/5.6/socialite library. I created an app on twiiter and copied it's creditials in my .env, like :

TW_ID= 1y8XXXXXXXXXXXXXXXXXXQs
TW_SECRET= i7bXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXwR
TW_REDIRECT= http://local-artists-rating.com/twitter # link to my local

and twitter page is opened https://imgur.com/a/EQRfYfN

But clicking “Authorize App” I got page with error :

Whoa there!
There is no request token for this page. That's the special key we need from applications asking to use 
your Twitter account. Please go back to the site or application that sent you here and try again; 
it was probably just a mistake.

I tried to repeate during a long period of time, but failed. Can you explain me was it mistake on my side or an error on twitter side amd wahat to do?

  1. Can you explaine me sense of the option :
Additional Permissions
These additional permissions require that you provide URLs to your application or service's privacy policy and terms of service. You can configure these fields in your Application Settings.
Request email addresses from users

in Twitter Settings. How would it influence my app?

Thanks!

10th May, 2018

mstdmstd left a reply on Dusk LoginAs Methods Opens Login Page • 2 months ago

I read user by $logged_user_id, like:

                $loggedUser= User::find($logged_user_id);
                echo '$loggedUser->name::'.print_r($loggedUser->name,true);
                $browser->loginAs(User::find($logged_user_id))

and in the console name of the user with id == $logged_user_id, so I suppose, that:

  1. my testing script works under db I work with
  2. I have user with id == $logged_user_id
  3. Is it so? Any idea ?

mstdmstd started a new conversation Dusk LoginAs Methods Opens Login Page • 2 months ago

Hello , In my laravel 5.6.20 application I created new testing file

tests/Browser/documentCategoriesCRUD.php:

<?php

namespace Tests\Browser;

use Auth;
use DB;

use Tests\DuskTestCase;
use Laravel\Dusk\Browser;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use PhpUnit\Framework; // vendor/phpunit/phpunit/src/Framework/Assert.php
use Tests\TestCase;
use App\User;
use App\Settings;

use App\DocumentCategory;


class documentCategoriesCRUDTest_prior extends DuskTestCase
{
    public function testExample()   // php artisan dusk  tests/Browser/documentCategoriesCRUD.php
    {
        $logged_user_id = 5;   // There is user in userrs table in db
        $site_name = Settings::getValue('site_name', '');

        try {


            $document_category_id= '';
            $this->browse(function (Browser $browser) use ($site_name, $document_category_id, $logged_user_id) {
                $browser->resize(1920, 1080); // Width and Height

                $new_document_category_name = 'new document category created  at ' . time();
                $browser->loginAs(User::find($logged_user_id))
                        ->visit('/admin/dashboard#/admin/document_categories/edit/new')
                        ->assertTitle('Document Categories of ' . $site_name)
                ;

            });

            echo ' New document category id::'.print_r($document_category_id,true);

        } catch (Exception $e) {

            throw $e;
        }

        return;

    }
}

But I got error that page if not found and in printscreen I see login(auth model) page.

I have default config/auth.php and in config/database.php:

<?php

return [

    'default' => env('DB_CONNECTION', 'mysql'),

    'connections' => [

        'mysql' => [
            'driver' => 'mysql',
            'host' => env('DB_HOST', '127.0.0.1'),
            'port' => env('DB_PORT', '3306'),
            'database' => env('DB_DATABASE', 'forge'),  // THAT IS MY WORKING DB
            'username' => env('DB_USERNAME', 'forge'),
            'password' => env('DB_PASSWORD', ''),
            'unix_socket' => env('DB_SOCKET', ''),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => 'tsk_',
            'strict' => true,
            'engine' => null,
        ],

        'testing' => [
            'driver' => 'mysql',
            'host' => env('DB_HOST', '127.0.0.1'),
            'port' => env('DB_PORT', '3306'),
            'database' => env('DB_DUSK_DATABASE', 'forge'),
            'username' => env('DB_USERNAME', 'forge'),
            'password' => env('DB_PASSWORD', ''),
            'unix_socket' => env('DB_SOCKET', ''),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => 'tsk_',
            'strict' => true,
            'engine' => null,
        ],

As that are first steps with dusk I do not need any special envirement here... What did I miss in dusk config ?

Thanks!

7th May, 2018

mstdmstd started a new conversation Laravel-twilio Library To Send Voice Message • 2 months ago

Hello , In my laravel 5.6 application I use aloha/laravel-twilio library for sending sms message with method

$twilio->message('+18085551212', 'Pink Elephants and Happy Rainbows');

as it was written here https://github.com/aloha/laravel-twilio

It works ok, but I do not see if this library can send voice message( renter text in voice or recorded voice file ) ?

Are there some other laravel libraries for such tasks?

Thanks!

mstdmstd left a reply on Different Color Themes In Bootstrap 4.1.0 Application • 2 months ago

but that is the question where original BootStrap CSS(and bootstrap.js to) is attached to the project ?

in my layout file resources/views/layouts/app.blade.php a line:

<link href="{{ asset('css/app.css') }}" rel="stylesheet">

that is a ref to my custom css file, the styles I add to the project.

I did not find how to skip attaching of the original BootStrap CSS file...

6th May, 2018

mstdmstd left a reply on Different Color Themes In Bootstrap 4.1.0 Application • 2 months ago

Thanks for your feedback!

Adding a link of one bootswatch file in my layout file resources/views/layouts/app.blade.php, like:

    <link href="{{ asset('css/darkly/bootstrap.min.css') }}" rel="stylesheet"> 

I see that colors of my layout of my pages is different, but I mean that in this case I ADD this css/darkly/bootstrap.min.css file to the EXISTING(ORIGINAL) bootstrap.min.css and now I have 2 bootstrap.min.css files in my system. Is it good decision? I supposed that creators of bootswatch meant to REPLACE the original bootstrap.min.css file. How do you think?

5th May, 2018

mstdmstd started a new conversation Different Color Themes In Bootstrap 4.1.0 Application • 2 months ago

Hello , In my laravel 5.6 / vue.js 2.5.7/ Bootstrap4.1.0 application I want to set different color themes and I found this collection https://github.com/thomaspark/bootswatch But how correctly to set them to my project? I tried to replace files

node_modules/bootstrap/dist/css/bootstrap.css
node_modules/bootstrap/dist/css/bootstrap.min.css

and cleared cache and rerun

npm run watch-poll

But no effect... Which is the right way?

Are there some tolls to change color themes programmatically, say depending on logged user options ?

Thanks!

26th April, 2018

mstdmstd started a new conversation How To Use Glyphicon Icons With Bootstrap 4.1.0 • 2 months ago

Hi,

In my Laravel 5.6/vue.js 2.5 app I have bootstrap 4.1.0

I installed

npm install font-awesome --save

but in my views I see this icon :

    <i class="fa fa-bug"></i>

I do not see this icon :

    <i class="glyphicon glyphicon-edit m-r-20" ></i>

In my webpack.mix.js I have :

mix.js('resources/assets/js/app.js', 'public/js')
   .sass('resources/assets/sass/app.scss', 'public/css');

mix.copy('node_modules/font-awesome/fonts', 'public/fonts');

What have I to add to use glyphicon icons too?

Thanks!

25th April, 2018

mstdmstd left a reply on Having Errors On Server To Show These Errors In Vuelidate Errors Output ? • 2 months ago

Sorry, I still search for a decision. In my Laravel 5.5/vue.js2.5 application I used vee-validate and vee-validate-laravel ( https://www.npmjs.com/package/vee-validate-laravel ) libraries. The last was usefull to work with server errors as with client vuejs errors, and i my code I wrote like :

        axios({
            method: ( 'post' ),
        }).then((response) => {
            ...
        }).catch((error) => {
            this.$setLaravelValidationErrorsFromResponse(error.response.data);
            ...
        });

That was very usefull. Is there is some similar decision for vuelidate library? Can custom methods be used here?

Thanks!

24th April, 2018

mstdmstd left a reply on How Do I Switch To Bootstrap 4 In Laravel 5.5? • 2 months ago

Hello, I try to move from BS3 to BS4 As here https://getbootstrap.com/ I see:

Currently v4.1.0

In my package.json I changed :

  "devDependencies": {
    "bootstrap": "^4.1.0",
...

and run successully :

npm update
 npm run dev 
npm run watch-poll

My app is worked ok, but I notecide that my dialog models do not work at all, with definition :

<template>
    <div class="p-10 col-sm-offset-1 ">


        <!-- INFO MODAL START-->
        <div class="modal fade" id="info_dialog" tabindex="-1" role="dialog" aria-labelledby="info_dialog_label">
            <div class="modal-dialog" role="document">
                <div class="modal-content">

                    <div class="modal-header">
                    ...
                    </div>

                    <div class="modal-body text-info p-10">
                        ...
                    </div> <!-- modal-body -->

                    <div class="modal-footer">
                        ...
                    </div>

                </div>
            </div>
        </div>
        <!-- INFO MODAL END -->
...

           $("#info_dialog").modal('show');

I tried to check here https://getbootstrap.com/docs/4.1/migration/ but did not find what could raise the problem.

How to fix it ?

Thanks!

21st April, 2018

mstdmstd started a new conversation How To Update Node And Npm Of My Project ? • 3 months ago

Hello, on my Kubuntu 17.10 I want to upgrade all parts of my laravel/vue.js application. I have now:

$ node -v 
v8.11.1
$ npm -v 
5.6.0
$  php artisan --version
Laravel Framework 5.6.12

Looks like nmp and node.js are not the latest version. Which is the best way to upgrade and to which version ?

Thanks!

20th April, 2018

mstdmstd started a new conversation Having Errors On Server To Show These Errors In Vuelidate Errors Output ? • 3 months ago

Hello, I use vuelidate in my vue.js2.5.7 / vuetify,1.0.8 application and with validating on client with vuelidate I also make validation on server(php7.1/laravel5.6). If there is a way having errors on server to show these errors in vuelidate errors output ? I mean that some validations could be done only on server(like unique name of item). Also I prefer to duplicate validation on server too...

Thanks !

15th April, 2018

mstdmstd left a reply on How To Deal Invalid Urls In Laravel 5.5/vue.js2.5 Application ? • 3 months ago

No, that is Laravel 5.5/vue.js2.5/vuetify application with vue-router installed and in routes defined in resources/assets/js/app.js like:

const routes = [
    {
        path: '/',
        components: {
            appLogin: AppLogin,
            homePage: HomePage,
            ...
        }
    },
    {path: '/login', component: AppLogin, name: 'appLogin'},
    {path: '/home', component: HomePage, name: 'homePage'},
    ...
]

const router = new VueRouter( {
    mode: 'hash', // default
    routes
})

Googling I found this fiddle https://jsfiddle.net/6cL7h4at/

From the first view the decision in it seems simple and effective, but is it so?

Could it be done in some better way?

12th April, 2018

mstdmstd started a new conversation How To Deal Invalid Urls In Laravel 5.5/vue.js2.5 Application ? • 3 months ago

Hello,

Can you advice some decision(extention) to deal invalid urls in Laravel 5.5/vue.js2.5 application ?

Thanks!

10th April, 2018

mstdmstd left a reply on I Search AssertEquals And AssertStatus Methods In Desk • 3 months ago

Thank you, that method is usefull, but I want in my desk testing ADD document_category row, after THAT FIND/UPADTE it and DELETE it. For adding I do next:

                $new_document_category_name = 'new document category created  at ' . time(); // dummy value for name field

                $document_categories_rows_count= GET NUMBER OF ROWS
                $browser->loginAs(User::find($logged_user_id))
                        ->visit('/admin/dashboard#/admin/document_categories/edit/new')
                        ->type('#name', $new_document_category_name)// Поле заполняется ->type , но НЕ заполняется если ->value
                        ->select('#type', 'D')// Enum field
                        ->type('#document_category_content', $new_document_category_name . ' content lorem...')// textarea input
                        ->click('.editor_button_submit')
                        ->waitUntilMissing('.editor_button_submit')
                        ->assertTitle('Document Categories of ' . $site_name)
                ;

The row is inserted ok, but actually I would like to add 2 more assert methods, like:

                $browser->loginAs(User::find($logged_user_id))
                      ... // prior asserts
                       ->assertValue( CURRENT_NUMBER_OF_ROWS+ 1, $document_categories_rows_count)  // To check that 1 row was added
                        ->assertValue( "span_document_category_name_".$new_document_category_id, $new_document_category_name) // To check  that added row was fount by its ID
                ;

But I did not find if there is a way to get id of new row inserted?

I tried this way:

$new_document_category_id= DB::getPdo()->lastInsertId();

But I got 0 as results. Can I get that is and number of rows in this table after inserting row? Which methods could be used for that?

4th April, 2018

mstdmstd started a new conversation How To Update My Laravel / Vue.js / Vuetify Packages To The Latest? • 3 months ago

Hello, In laravel 5.6 / vue.js2.5 / vuetify application files package.json and composer.json are used for installing of packages. As I understand:

  1. In my composer.json file are written packages installed by commands like :
 composer require wboyz/laravel-enum

2)In my package.json are written packages installed by commands like :

 npm install vue-js-popover --save

Is it so?

  1. The question is which way is the best if I want to update my laravel / vue.js / vuetify packages to the latest? I mean question of compatibility of different packages? How better to trace it not to get errors in incompatibility of libraries?

Thanks !

mstdmstd left a reply on I Search AssertEquals And AssertStatus Methods In Desk • 3 months ago

I tried using commande:

$ php artisan dusk:make documentCategoriesCRUD 
Test created successfully.

And I got a file tests/Browser/documentCategoriesCRUD.php:

<?php

namespace Tests\Browser;

use Tests\DuskTestCase;
use Laravel\Dusk\Browser;
use Illuminate\Foundation\Testing\DatabaseMigrations;

class documentCategoriesCRUD extends DuskTestCase
{
    /**
     * A Dusk test example.
     *
     * @return void
     */
    public function testExample()
    {
        $this->browse(function (Browser $browser) {
            $browser->visit('/')
                    ->assertSee('Laravel');
        });
    }
}

And tests/DuskTestCase.php :

<?php

namespace Tests;

use Laravel\Dusk\TestCase as BaseTestCase;
use Facebook\WebDriver\Chrome\ChromeOptions;
use Facebook\WebDriver\Remote\RemoteWebDriver;
use Facebook\WebDriver\Remote\DesiredCapabilities;

abstract class DuskTestCase extends BaseTestCase
{
    use CreatesApplication;

    /**
     * Prepare for Dusk test execution.
     *
     * @beforeClass
     * @return void
     */
    public static function prepare()
    {
        static::startChromeDriver();
    }

    /**
     * Create the RemoteWebDriver instance.
     *
     * @return \Facebook\WebDriver\Remote\RemoteWebDriver
     */
    protected function driver()
    {
        $options = (new ChromeOptions)->addArguments([
            '--disable-gpu',
            '--headless'
        ]);

        return RemoteWebDriver::create(
            'http://localhost:9515', DesiredCapabilities::chrome()->setCapability(
                ChromeOptions::CAPABILITY, $options
            )
        );
    }
}

But trying to use assertEquals or assertStatus I got error that these methods were not found. have I to include to my test file some more libs? Or to add some other library ?

3rd April, 2018

mstdmstd started a new conversation I Search AssertEquals And AssertStatus Methods In Desk • 3 months ago

Hello, In Laravel 5.5.35 making Dusk tests I search for methods like assertEquals - check some condition, say get number of rows before adding new row - and after new row added check rows number + 1 , assertStatus - get http return code of my requests Here https://laravel.com/docs/5.6/dusk#available-assertions I did not not find any similar methods. Are there? maybe some extentions ?

Thanks!

28th March, 2018

mstdmstd left a reply on Vuetify, V-select : Problem With Drop Down Listing Of Select Component • 3 months ago

  1. I also noticed similar problems when I added to my form date picjker which I got from https://vuetifyjs.com site:
            <v-menu
                    ref="birthday_date_menu"
                    lazy
                    :close-on-content-click="false"
                    v-model="birthday_date_menu"
                    transition="scale-transition"
                    offset-y
                    full-width
                    :nudge-right="40"
                    max-width="290px"
                    min-width="290px"
                    :return-value.sync="artist_birthday"
            >
                <v-text-field
                        slot="activator"
                        label="Select birthday"
                        v-model="artist_birthday"
                        prepend-icon="event"
                        readonly
                ></v-text-field>

                <v-date-picker
                        v-model="artist_birthday"
                        scrollable
                        :header-date-format="date => new Date(date).toLocaleDateString(undefined, { day: 'numeric', month: 'short', year: 'numeric' })"
                        :formatted-value.sync="formatted"
                >
                    <v-spacer></v-spacer>
                    <v-btn flat color="primary" @click="birthday_date_menu = false">Cancel</v-btn>
                    <v-btn flat color="primary" @click="$refs.birthday_date_menu.save(artist_birthday)">OK</v-btn>
                </v-date-picker>
            </v-menu>

I mean menu with days selection is opened far below of the input.

  1. Also looks like not all styles were appllied to my project. As I wrote above in my resources/assets/js/app.js I added rows with css file included:
import Vuetify from 'vuetify'
import 'vuetify/dist/vuetify.min.css' // Ensure you are using css-loader
Vue.use(Vuetify)

But I got code https://vuetifyjs.com/en/components/data-tables ( CRUD Actions example ) and in my example it mostly works ok, but button “NEW ITEM” has no color visible : https://imgur.com/a/wcpXv

also I open modal dialog abd all data on the form below are visible. Could it be that I have to add some more css definitions apart 'vuetify/dist/vuetify.min.css' ?

Who works with vuetify? Have you similar problems ?

27th March, 2018

mstdmstd started a new conversation Vuetify, V-select : Problem With Drop Down Listing Of Select Component • 3 months ago

Hello, In my Laravel 5.6/vue.js2.5 application I use vuetify,1.0.8 and have some problem with drop down listing of select component On my page I have 3 inputs and the select input “Published” last:

<template>
    <v-flex xs12>
        <editor-header :show_loading_image="!is_page_loaded || is_page_updating" :header_icon="getHeaderIcon('event')" :header_title=header_title
                       :message=message></editor-header>


        <form>
            <v-text-field
                    label="Id"
                    v-model="genre_id"
                    readonly disabled
                    v-show="!is_insert"
            ></v-text-field>

            <v-text-field
                    label="Name"
                    v-model="genre_name"
                    :error-messages="genre_nameErrors"
                    @input="$v.genre_name.$touch()"
                    @blur="$v.genre_name.$touch()"
                    required
            ></v-text-field>

            <v-select
                    v-model="genre_SelectPublished"
                    :items="genrePublishedSelectionList"
                    label="Published"
                    item-text="label"
                    item-value="key"
                    return-object
                    :error-messages="genre_SelectPublishedErrors"
                    @change="$v.genre_SelectPublished.$touch()"
                    @blur="$v.genre_SelectPublished.$touch()"
                    required
            ></v-select>
        </form>
    </v-flex>
</template>


<script>
    import { validationMixin } from 'vuelidate'
    import { required, maxLength } from 'vuelidate/lib/validators'

    import {bus} from '../../app';
    import appMixin from '../../appMixin';

    export default {
        mixins: [validationMixin, appMixin],
...

But when I click on items selection sropdown listing on below of the menu and at right corner: https://imgur.com/a/RWSyR

I tried to play with styles of the menu, like in resources/assets/sass/app.scss :

body {
  font-size: 130% !important ;
}

.menu__content .menu__content--select .menuable__content__active {
  border: 2px solid blue !important; /* DEBUGGING */
  background-color: maroon !important;
  padding: 8px 0;
  transition: height .3s cubic-bezier(.4,0,.2,1);
  z-index: 2000;
  float: left;
  display: block;
  overflow-y: auto;
  overflow-x: auto;
  left:0;
  top:0;
  position: relative;
}
.list {
  list-style-type: none;
  padding: 8px 0;
  transition: height .3s cubic-bezier(.4,0,.2,1);
  border: 2px solid red !important; /* DEBUGGING */
  background-color: yellow !important;
  z-index: 2000;
  float: left;
  display: block;
  overflow-y: auto;
  overflow-x: auto;
}

background color and border are changed, but not the rest of properties. So all my attemptes to fix location by modifications by styles were failed.

In my resources/assets/js/app.js :

require('./bootstrap');
window.Vue = require('vue');
import Vue from 'vue'

import VueRouter from 'vue-router';
window.Vue.use(VueRouter);

import Vuetify from 'vuetify'
import 'vuetify/dist/vuetify.min.css' // Ensure you are using css-loader
Vue.use(Vuetify)

import Toaster from 'v-toaster' //https://github.com/paliari/v-toaster
import 'v-toaster/dist/v-toaster.css'
Vue.use(Toaster, {timeout: 3000})

import Vuelidate from 'vuelidate' // https://github.com/monterail/vuelidate
Vue.use(Vuelidate)

window.moment = require('moment');  // https://momentjs.com/

import HomePage from './components/home/HomePage.vue';
import CmsItemPage from './components/home/CmsItem.vue';
import DashboardIndex from './components/dashboard/DashboardIndex.vue';
import ArtistsIndex from './components/artists/artistsListing.vue';
import ArtistEdit from './components/artists/artistEdit.vue';
import GenresIndex from './components/genres/genresListing.vue';
import GenreEdit from './components/genres/genreEdit.vue';
import AppLogin from './components/AppLogin.vue'; // resources/assets/js/components/AppLogin.vue
import Contact from './components/Contact.vue';
import AppFooter from './components/layout/appFooter.vue'; // resources/assets/js/components/layout/appFooter.vue
Vue.component( 'backend-app-layout',  require( './components/layout/backendAppLayout.vue') );
Vue.component( 'listing-header',  require( './components/lib/ListingHeader.vue') );

const routes = [
    {
        path: '/',
        components: {
            homePage: HomePage,
            cmsItemPage: CmsItemPage,
            dashboardIndex: DashboardIndex,
            artistsIndex: ArtistsIndex,
            artistEditor: ArtistEdit,

            genresIndex: GenresIndex,
            genreEditor: GenreEdit,

            loginPage: AppLogin,
            contactPage: Contact,

        }
    },
    {path: '/home', component: HomePage, name: 'homePage'},
    {path: '/cms-item/:alias', component: CmsItemPage, name: 'cmsItemPage'},
    {path: '/admin/dashboard/:default_block?', component: DashboardIndex, name: 'dashboardIndex'},
    {path: '/login', component: AppLogin, name: 'login'},
    {path: '/contact', component: Contact, name: 'contact'},
    {path: '/admin/artists', component: ArtistsIndex, name: 'artistsIndex'},
    {path: '/admin/artist/edit/:id', component: ArtistEdit, name: 'artistEditor'},
    {path: '/admin/genres', component: GenresIndex, name: 'genresIndex'},
    {path: '/admin/genre/edit/:id', component: GenreEdit, name: 'genreEditor'},

]

const router = new VueRouter( {
    mode: 'hash', // default
    routes
})



export const bus = new Vue();

new Vue({ router,

    data:{
        app_title: '',
        loggedUserProfile: {},
        loggedUserInGroups: {},
        refsArray:[]
    },

} ).$mount('#app')  // new Vue({ router,

In my composer.json:

{
    "name": "laravel/laravel",
    "description": "The Laravel Framework.",
    "keywords": ["framework", "laravel"],
    "license": "MIT",
    "type": "project",
    "require": {
        "php": "^7.1.3",
        "fideloper/proxy": "^4.0",
        "graham-campbell/markdown": "^10.0",
        "intervention/image": "^2.4",
        "laracasts/utilities": "^3.0",
        "laravel/framework": "5.6.*",
        "laravel/tinker": "^1.0",
        "wboyz/laravel-enum": "^0.2.1"
    },
    "require-dev": {
        "barryvdh/laravel-debugbar": "^3.1",
        "filp/whoops": "^2.0",
        "fzaninotto/faker": "^1.4",
        "laravel/dusk": "^3.0",
        "mockery/mockery": "^1.0",
        "nunomaduro/collision": "^2.0",
        "phpunit/phpunit": "^7.0"
    },
    "autoload": {
        "classmap": [
            "database/seeds",
            "database/factories"
        ],
        "psr-4": {
            "App\": "app/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\": "tests/"
        }
    },
    "extra": {
        "laravel": {
            "dont-discover": [
            ]
        }
    },
    "scripts": {
        "post-root-package-install": [
            "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "@php artisan key:generate"
        ],
        "post-autoload-dump": [
            "Illuminate\Foundation\ComposerScripts::postAutoloadDump",
            "@php artisan package:discover"
        ]
    },
    "config": {
        "preferred-install": "dist",
        "sort-packages": true,
        "optimize-autoloader": true
    },
    "minimum-stability": "dev",
    "prefer-stable": true
}

Is it some kind of conflict with some other installed packets or it could be fixed by modifing in resources/assets/sass/app.scss ?

Thanks !

21st March, 2018

mstdmstd left a reply on Make Computed Fields Data-tables In Vuejs/vuetify Librray • 4 months ago

Thanks for your response!

  1. I know how to work with eloquent-mutators, but as I wrote above I dislike way of convirting this field on server side, as I need to sort them on client I would get wrong results. Setting my v-data-table I want to have functionality ut has, like sorting In API I found Scoped Slots, labeled as
items { item: object; index: number; selected: boolean; expanded: boolean; }
Slot to specify how items are rendered

but I do not see example of that functionality and is not sure which is correct syntax for it.

  1. I found
CRUD Actions
data-table with CRUD actions usin...

that looks what I need...

  1. Actually that iis https://vuetifyjs.com/ru/components/forms.

So only for 1) I still search for decision...

mstdmstd left a reply on Make Computed Fields Data-tables In Vuejs/vuetify Librray • 4 months ago

Thanks, I know this library, but what I really asked was how format fields in data-tables from vuetify, some kind of computed fields for rows in data-tables ?

mstdmstd started a new conversation Make Computed Fields Data-tables In Vuejs/vuetify Librray • 4 months ago

Hello, In my Laravel 5.5/vue.js2.5 spplication I use data-tables from vuetify,1.0.8 and reviwing docs I did not find if there are ways :

  1. to show some fields as computed fields, say having datetime field in raw db format as “2015-03-11 05:26:54” I would like to show it in “20 January, 2018 1:55 PM” format. I dislike way of convirting this field on server side, as I need to sort them on client I would get wrong results. Similar way with enum fields, as I want to show label, but have possibility to sort them by raw db fields.

  2. How to make view link to other page(row editor in my case) in data-tables?

  3. By link above I need to edit row. Are there some vuetify component/tools for this purpose(At least with material design)? Could you advice some ?

Thanks!

14th March, 2018

mstdmstd left a reply on Running Npm Ls With Errors • 4 months ago

Now I have :

$ node -v 
v8.9.4
$ npm -v 
5.6.0

Latest is 9.8.0. Have I raise to it? npm must be left as it now?

13th March, 2018

mstdmstd started a new conversation Running Npm Ls With Errors • 4 months ago

Hello, In my В Laravel 5.5/vue.js2.5 application running command to review installed all npm packages

npm ls

I have very long output(it is beyond my console buffer) and some errors at bottom of my listing :
 └── [email protected] deduped
│ ├── [email protected] deduped
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected] deduped
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ └── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ └─┬ [email protected]
│ │ │   ├── [email protected] deduped
│ │ │   ├── [email protected] deduped
│ │ │   └── [email protected] deduped
│ │ ├── [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ └── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └── [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └── [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └─┬ [email protected]
│ │ │ │   ├─┬ [email protected]
│ │ │ │   │ └── [email protected]
│ │ │ │   └── spdx-expression-pars[email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ └─┬ [email protected]
│ │ │ │   ├─┬ [email protected]
│ │ │ │   │ ├── [email protected] deduped
│ │ │ │   │ ├── [email protected] deduped
│ │ │ │   │ ├── [email protected]
│ │ │ │   │ ├── [email protected] deduped
│ │ │ │   │ └─┬ [email protected]
│ │ │ │   │   └── [email protected]
│ │ │ │   ├── [email protected] deduped
│ │ │ │   └─┬ [email protected]
│ │ │ │     ├── [email protected] deduped
│ │ │ │     ├── [email protected]
│ │ │ │     └── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ └─┬ [email protected]
│ │ │ │   └── [email protected] deduped
│ │ │ └── [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └── [email protected] deduped
│ │ │ └── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ └── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └─┬ [email protected]
│ │ │ │   └── [email protected] deduped
│ │ │ └── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └─┬ [email protected]
│ │ │ │ │   └── [email protected] deduped
│ │ │ │ ├── [email protected]
│ │ │ │ └─┬ [email protected]
│ │ │ │   └── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ └─┬ [email protected]
│ │ │ │ │   ├── [email protected] deduped
│ │ │ │ │   ├── [email protected] deduped
│ │ │ │ │   └── [email protected] deduped
│ │ │ │ └─┬ [email protected]
│ │ │ │   ├── [email protected]
│ │ │ │   ├── [email protected] deduped
│ │ │ │   ├─┬ [email protected]
│ │ │ │   │ └── [email protected] deduped
│ │ │ │   ├─┬ [email protected]
│ │ │ │   │ └── [email protected] deduped
│ │ │ │   ├─┬ [email protected]
│ │ │ │   │ └── [email protected] deduped
│ │ │ │   ├─┬ [email protected]
│ │ │ │   │ └── [email protected] deduped
│ │ │ │   ├── [email protected]
│ │ │ │   └── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected] deduped
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └─┬ [email protected]
│ │ │ │   └── [email protected]
│ │ │ └─┬ [email protected]
│ │ │   ├── [email protected]
│ │ │   ├── [email protected] deduped
│ │ │   ├── [email protected] deduped
│ │ │   ├── [email protected] deduped
│ │ │   ├── [email protected] deduped
│ │ │   ├── [email protected] deduped
│ │ │   ├── [email protected] deduped
│ │ │   ├── [email protected] deduped
│ │ │   ├── [email protected] deduped
│ │ │   ├── [email protected] deduped
│ │ │   ├── [email protected] deduped
│ │ │   ├── [email protected] deduped
│ │ │   └─┬ [email protected]
│ │ │     └── [email protected]
│ │ └─┬ [email protected]
│ │   └── [email protected] deduped
│ ├─┬ [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └─┬ [email protected]
│ │ │ │ │   └── [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └── [email protected] deduped
│ │ │ └─┬ [email protected]
│ │ │   ├── [email protected] deduped
│ │ │   └── [email protected] deduped
│ │ └── [email protected] deduped
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├─┬ asser[email protected]
│ │ │ │ └── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ ├── [email protected]
│ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ ├── [email protected]
│ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ └─┬ [email protected]
│ │ │ │ │   ├── [email protected]
│ │ │ │ │   ├── [email protected]
│ │ │ │ │   └── [email protected] deduped
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ └─┬ [email protected]
│ │ │   ├── [email protected] deduped
│ │ │   ├─┬ [email protected]
│ │ │   │ └── [email protected] deduped
│ │ │   ├─┬ [email protected]
│ │ │   │ ├── [email protected]
│ │ │   │ ├── [email protected]
│ │ │   │ ├── [email protected]
│ │ │   │ └── [email protected] deduped
│ │ │   └── [email protected] deduped
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected] deduped
│ │ │ └─┬ [email protected]
│ │ │   ├── [email protected]
│ │ │   ├─┬ [email protected]
│ │ │   │ └── [email protected] deduped
│ │ │   ├── [email protected]
│ │ │   └─┬ [email protected]
│ │ │     ├── [email protected]
│ │ │     └── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected] deduped
│ │ └── [email protected] deduped
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │   ├── [email protected]
│ │   ├─┬ [email protected]
│ │   │ ├─┬ [email protected]
│ │   │ │ ├─┬ [email protected]
│ │   │ │ │ ├── [email protected] deduped
│ │   │ │ │ ├── [email protected]
│ │   │ │ │ └── [email protected]
│ │   │ │ └── [email protected]
│ │   │ ├─┬ [email protected]
│ │   │ │ └── [email protected] deduped
│ │   │ └── [email protected]
│ │   ├── [email protected] deduped
│ │   └── [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ └── [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ └── [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ └─┬ [email protected]
│ │ │ │   ├── [email protected] deduped
│ │ │ │   └── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └─┬ [email protected]
│ │ │ │   └── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ └─┬ [email protected]
│ │ │ │   └── [email protected] deduped
│ │ │ └── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ └── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ └─┬ [email protected]
│ │   ├─┬ [email protected]
│ │   │ └── [email protected]
│ │   └── [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected] deduped
│ │ ├── [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ └── [email protected] deduped
│ │ └── [email protected]
│ ├── vu[email protected] deduped
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ └── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ └─┬ [email protected]
│ │ │ │   ├── [email protected] deduped
│ │ │ │   └── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └── [email protected] deduped
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected]
│ │ ├── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ └── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ └── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ ├── [email protected]
│ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ └─┬ [email protected]
│ │ │ │ │   ├─┬ [email protected]
│ │ │ │ │   │ ├─┬ [email protected]
│ │ │ │ │   │ │ ├── [email protected] deduped
│ │ │ │ │   │ │ └── [email protected] deduped
│ │ │ │ │   │ └── [email protected] deduped
│ │ │ │ │   └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ ├── [email protected]
│ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ └── [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ └─┬ [email protected]
│ │ │ │ │   ├─┬ [email protected]
│ │ │ │ │   │ ├── [email protected] deduped
│ │ │ │ │   │ ├── [email protected] deduped
│ │ │ │ │   │ └── [email protected] deduped
│ │ │ │ │   ├── [email protected] deduped
│ │ │ │ │   ├── [email protected] deduped
│ │ │ │ │   ├── [email protected] deduped
│ │ │ │ │   └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ └─┬ [email protected]
│ │ │ │ │   ├── [email protected] deduped
│ │ │ │ │   └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ └─┬ [email protected]
│ │ │ │   ├── [email protected] deduped
│ │ │ │   └── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected]
│ │ │ │ └── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ └─┬ [email protected]
│ │ │   └── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ └── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ └── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ └── [email protected] deduped
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ └── [email protected]
│ │ │ └─┬ [email protected]
│ │ │   ├─┬ [email protected]
│ │ │   │ ├── [email protected] deduped
│ │ │   │ ├── [email protected]
│ │ │   │ └── [email protected]
│ │ │   ├── [email protected] deduped
│ │ │   ├── [email protected] deduped
│ │ │   ├── [email protected]
│ │ │   └─┬ [email protected]
│ │ │     └── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ └── [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └─┬ [email protected]
│ │ │ │   └── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ └── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ └── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ └── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ └── [email protected] deduped
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ └── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ └─┬ [email protected]
│ │ │   └── [email protected]0
│ │ ├─┬ [email protected]
│ │ │ └── [email protected] deduped
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ └── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected]
│ │ │ │ └── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ └── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected] deduped
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ └─┬ [email protected]
│ │ │ │   └─┬ [email protected]
│ │ │ │     ├── [email protected]
│ │ │ │     └── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ └─┬ [email protected]
│ │ │   ├── [email protected]
│ │ │   └── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ └─┬ [email protected]
│ │ │   ├── [email protected] deduped
│ │ │   ├── [email protected]
│ │ │   ├─┬ [email protected]
│ │ │   │ ├── [email protected] deduped
│ │ │   │ ├── [email protected] deduped
│ │ │   │ ├── [email protected] deduped
│ │ │   │ └── [email protected] deduped
│ │ │   ├── [email protected]
│ │ │   ├── [email protected] deduped
│ │ │   ├── [email protected] deduped
│ │ │   └─┬ [email protected]
│ │ │     └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ └── [email protected]
│ │ └─┬ [email protected]
│ │   ├── [email protected]
│ │   ├── [email protected] deduped
│ │   ├── [email protected] deduped
│ │   ├── [email protected] deduped
│ │   ├─┬ [email protected]
│ │   │ └── [email protected] deduped
│ │   ├── [email protected] deduped
│ │   ├── [email protected] deduped
│ │   ├── [email protected] deduped
│ │   ├── [email protected] deduped
│ │   ├─┬ [email protected]
│ │   │ ├── [email protected]
│ │   │ ├─┬ [email protected]
│ │   │ │ └── [email protected]
│ │   │ └── [email protected] deduped
│ │   ├── [email protected]
│ │   ├── [email protected] deduped
│ │   └─┬ [email protected]
│ │     └── [email protected] deduped
│ ├─┬ [email protected]
│ │ └── [email protected] deduped
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └─┬ [email protected]
│ │ │ │   ├─┬ [email protected]
│ │ │ │   │ ├── [email protected]
│ │ │ │   │ └─┬ [email protected]
│ │ │ │   │   └── [email protected]
│ │ │ │   ├─┬ [email protected]
│ │ │ │   │ ├── [email protected]
│ │ │ │   │ ├── [email protected] deduped
│ │ │ │   │ ├── [email protected] deduped
│ │ │ │   │ ├── [email protected] deduped
│ │ │ │   │ └── [email protected]
│ │ │ │   ├─┬ [email protected]
│ │ │ │   │ └── [email protected]
│ │ │ │   ├── [email protected] deduped
│ │ │ │   └─┬ [email protected]
│ │ │ │     └── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ └── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ └── [email protected] deduped
│ └─┬ [email protected]
│   ├── [email protected]
│   ├─┬ [email protected]
│   │ ├── [email protected] deduped
│   │ ├── [email protected] deduped
│   │ └─┬ [email protected]
│   │   ├── [email protected] deduped
│   │   └── [email protected] deduped
│   ├── [email protected]
│   ├── [email protected]
│   ├─┬ [email protected]
│   │ ├─┬ [email protected]
│   │ │ ├── [email protected] deduped
│   │ │ ├── [email protected]
│   │ │ ├── [email protected]
│   │ │ ├─┬ [email protected]
│   │ │ │ └── [email protected]
│   │ │ ├── [email protected] deduped
│   │ │ ├── [email protected] deduped
│   │ │ └── [email protected]
│   │ ├─┬ [email protected]
│   │ │ └── [email protected]
│   │ └─┬ [email protected]
│   │   └── [email protected]
│   ├─┬ [email protected]
│   │ ├─┬ [email protected]
│   │ │ └─┬ [email protected]
│   │ │   ├─┬ [email protected]
│   │ │   │ └── [email protected]
│   │ │   └── [email protected]
│   │ └─┬ [email protected]
│   │   ├─┬ [email protected]
│   │   │ ├── [email protected] deduped
│   │   │ ├── [email protected] deduped
│   │   │ ├── [email protected]
│   │   │ └── [email protected]
│   │   ├── [email protected] deduped
│   │   └─┬ [email protected]
│   │     └── [email protected] deduped
│   ├── [email protected]
│   ├── [email protected]
│   ├── [email protected]
│   ├─┬ [email protected]
│   │ ├── [email protected]
│   │ └─┬ [email protected]
│   │   └── [email protected]
│   ├── [email protected]
│   ├── [email protected]
│   └─┬ [email protected]
│     └── [email protected] deduped
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ └─┬ [email protected]
│ │   ├── [email protected]
│ │   └── [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│   ├── boot[email protected]
│   ├── [email protected] deduped
│   ├── [email protected] deduped
│   └─┬ [email protected]
│     └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ ├── [email protected]
│ ├── [email protected] deduped
│ └── [email protected] deduped
├── [email protected]
├─┬ [email protected]
│ └── [email protected] deduped
├── [email protected]
├─┬ [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ ├── [email protected]
│ └── [email protected] deduped
├── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]

It was rather frustrating, as I have no any problems now. Could this cause errors in the nearest future ? Which methods would you advice?

Say for the first error in the listing above:

npm ERR! missing: [email protected], required by [email protected]

Have I to run 

npm install hawk

? 

Thanks!

11th March, 2018

mstdmstd started a new conversation Vuetify Template With Latest Laravel • 4 months ago

Hello, I try to join that https://github.com/wxs77577/adminify vuejs/vuetify template with latest laravel.

I have :

$ nodejs --version 
v8.9.4
$ npm --version    
5.6.0

I do as next:

 laravel new Songs
 cd Songs
 php artisan --version
Laravel Framework 5.6.8
  1. I copied all files from adminify/src/ into /resources/assets/js/ in Songs project folder
  1. I modified my webpack.mix.js as :
let mix = require('laravel-mix');
mix.js('resources/assets/js/main.js', 'public/js')    // main.js is entry point of the project 
   .sass('resources/assets/sass/app.scss', 'public/css');
  1. Into my resources/assets/js/http.js I added axios headers configuration from Laravel's resources/assets/js/bootstrap.js, so it has content :
import Vue from 'vue'
import axios from 'axios'
import config from './config'

// enable mock
// import mock from './mock'
// if (!config.debug.mock) {
//   mock.restore()
// }


window.axios = require('axios');

window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';

/**
 * Next we will register the CSRF Token as a common header with Axios so that
 * all outgoing HTTP requests automatically have it attached. This is just
 * a simple convenience so we don't have to attach every token manually.
 */

let token = document.head.querySelector('meta[name="csrf-token"]');

if (token) {
    window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;
} else {
    console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');
}


var http = axios.create({
  baseURL: config.api,
  timeout: 1000
  // headers: { 'Authorization': 'Bearer ' + localStorage.getItem('token') }
})
http.interceptors.request.use(function (request) {
  return request
}, function (error) {
  // Do something with request error
  return Promise.reject(error)
})
http.interceptors.response.use(function (response) {
  const request = response.config
  if (config.debug.http) {
    console.log(
      '>>>', request.method.toUpperCase(), request.url, request.params,
      '\n   ', response.status, response.data
    )
  }
  return response
}, function (error) {
  if (config.debug.http) {
    let { response, config: request } = error
    if (request) {
      console.log(
        '>>>', request.method.toUpperCase(), request.url, request.params,
        '\n   ', response.status, response.data
      )
    }
  }
  // Do something with response error
  return Promise.reject(error)
})
Vue.prototype.$http = http
  1. In package.json I added dependencies from adminify/package.json, so now my /package.json has content :
{
    "private": true,
    "scripts": {
        "dev": "npm run development",
        "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
        "watch": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
        "watch-poll": "npm run watch -- --watch-poll",
        "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
        "prod": "npm run production",
        "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
    },

    "dependencies": {
        "adonis-websocket-client": "^1.0.2",
        "babel-runtime": "^6.23.0",
        "i": "^0.3.5",
        "indicative": "^2.2.1",
        "vue": "^2.3.3",
        "vue-i18n": "^6.1.1",
        "vue-quill-editor": "^2.1.6",
        "vue-router": "^2.3.1",
        "vue-timeago": "^3.3.1",
        "vue2-dropzone": "^2.0.0"
    },

    "devDependencies": {
        "axios": "^0.18",
        "bootstrap": "^4.0.0",
        "popper.js": "^1.12",
        "cross-env": "^5.1",
        "jquery": "^3.2",
        "laravel-mix": "^2.0",
        "lodash": "^4.17.4",
        "vue": "^2.5.7"

        "Validator": "^1.0.4",
        "autoprefixer": "^6.7.2",
        "axios-mock-adapter": "^1.8.1",
        "babel-core": "^6.22.1",
        "babel-eslint": "^7.1.1",
        "babel-loader": "^6.2.10",
        "babel-plugin-transform-runtime": "^6.22.0",
        "babel-preset-env": "^1.3.2",
        "babel-preset-stage-2": "^6.22.0",
        "babel-register": "^6.22.0",
        "chalk": "^1.1.3",
        "connect-history-api-fallback": "^1.3.0",
        "copy-webpack-plugin": "^4.0.1",
        "css-loader": "^0.28.0",
        "eslint": "^3.19.0",
        "eslint-config-standard": "^6.2.1",
        "eslint-friendly-formatter": "^2.0.7",
        "eslint-loader": "^1.7.1",
        "eslint-plugin-html": "^2.0.0",
        "eslint-plugin-promise": "^3.4.0",
        "eslint-plugin-standard": "^2.0.1",
        "eventsource-polyfill": "^0.9.6",
        "express": "^4.14.1",
        "extract-text-webpack-plugin": "^2.0.0",
        "file-loader": "^0.11.1",
        "friendly-errors-webpack-plugin": "^1.1.3",
        "html-webpack-plugin": "^2.28.0",
        "http-proxy-middleware": "^0.17.3",
        "indicative": "^2.2.1",
        "mockjs": "^1.0.1-beta3",
        "opn": "^4.0.2",
        "optimize-css-assets-webpack-plugin": "^1.3.0",
        "ora": "^1.2.0",
        "pug": "^2.0.0-rc.1",
        "rimraf": "^2.6.0",
        "semver": "^5.3.0",
        "shelljs": "^0.7.6",
        "style-loader": "^0.13.1",
        "stylus": "^0.54.5",
        "stylus-loader": "^2.1.1",
        "url-loader": "^0.5.8",
        "vue-loader": "^12.1.0",
        "vue-style-loader": "^3.0.1",
        "vue-template-compiler": "^2.3.3",
        "vuetify": "^0.14",
        "vuex": "^2.3.1",
        "webpack": "^2.6.1",
        "webpack-bundle-analyzer": "^2.2.1",
        "webpack-dev-middleware": "^1.10.0",
        "webpack-hot-middleware": "^2.18.0",
        "webpack-merge": "^4.1.0"
    }

}
  1. After that I run
$ npm install
npm WARN The package vue is included as both a dev and production dependency.
npm WARN The package indicative is included as both a dev and production dependency.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
  1. and last :
$ npm run watch-poll   

> @ watch-poll /mnt/_work_sdb8/wwwroot/lar/Songs
> npm run watch -- --watch-poll


> @ watch /mnt/_work_sdb8/wwwroot/lar/Songs
> cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js "--watch-poll"

 10% building modules 1/1 modules 0 active                                         
Webpack is watching the files…

 78% advanced chunk optimization/mnt/_work_sdb8/wwwroot/lar/Songs/node_modules/laravel-mix/node_modules/extract-text-webpack-plugin/dist/index.js:188
            chunk.sortModules();
                  ^

TypeError: chunk.sortModules is not a function
    at /mnt/_work_sdb8/wwwroot/lar/Songs/node_modules/laravel-mix/node_modules/extract-text-webpack-plugin/dist/index.js:188:19
    at /mnt/_work_sdb8/wwwroot/lar/Songs/node_modules/async/dist/async.js:3096:16
    at eachOfArrayLike (/mnt/_work_sdb8/wwwroot/lar/Songs/node_modules/async/dist/async.js:1055:9)
    at eachOf (/mnt/_work_sdb8/wwwroot/lar/Songs/node_modules/async/dist/async.js:1103:5)
    at Object.eachLimit (/mnt/_work_sdb8/wwwroot/lar/Songs/node_modules/async/dist/async.js:3158:5)
    at Compilation.<anonymous> (/mnt/_work_sdb8/wwwroot/lar/Songs/node_modules/laravel-mix/node_modules/extract-text-webpack-plugin/dist/index.js:184:27)
    at Compilation.applyPluginsAsyncSeries (/mnt/_work_sdb8/wwwroot/lar/Songs/node_modules/tapable/lib/Tapable.js:206:13)
    at Compilation.seal (/mnt/_work_sdb8/wwwroot/lar/Songs/node_modules/webpack/lib/Compilation.js:579:8)
    at /mnt/_work_sdb8/wwwroot/lar/Songs/node_modules/webpack/lib/Compiler.js:493:16
    at /mnt/_work_sdb8/wwwroot/lar/Songs/node_modules/tapable/lib/Tapable.js:289:11
    at _addModuleChain (/mnt/_work_sdb8/wwwroot/lar/Songs/node_modules/webpack/lib/Compilation.js:481:11)
    at processModuleDependencies.err (/mnt/_work_sdb8/wwwroot/lar/Songs/node_modules/webpack/lib/Compilation.js:452:13)
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickCallback (internal/process/next_tick.js:180:9)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ watch: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js "--watch-poll"`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @ watch script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/serge/.npm/_logs/2018-03-07T12_24_13_366Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ watch-poll: `npm run watch -- --watch-poll`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @ watch-poll script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/serge/.npm/_logs/2018-03-07T12_24_13_388Z-debug.log

Content of 2018-03-07T12_24_13_388Z-debug.log :

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'development' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'predevelopment', 'development', 'postdevelopment' ]
5 info lifecycle @~predevelopment: @
6 info lifecycle @~development: @
7 verbose lifecycle @~development: unsafe-perm in lifecycle true
8 verbose lifecycle @~development: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/mnt/_work_sdb8/wwwroot/lar/Songs/node_modules/.bin:/usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/mnt/_work_sdb8/wwwroot/lar/Songs/node_modules/.bin:/home/serge/.composer/vendor/bin:/home/serge/.composer/vendor/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
9 verbose lifecycle @~development: CWD: /mnt/_work_sdb8/wwwroot/lar/Songs
10 silly lifecycle @~development: Args: [ '-c',
10 silly lifecycle   'cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js' ]
11 silly lifecycle @~development: Returned: code: 1  signal: null
12 info lifecycle @~development: Failed to exec development script
13 verbose stack Error: @ development: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:285:16)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at EventEmitter.emit (events.js:214:7)
13 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at ChildProcess.emit (events.js:214:7)
13 verbose stack     at maybeClose (internal/child_process.js:925:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid @
15 verbose cwd /mnt/_work_sdb8/wwwroot/lar/Songs
16 verbose Linux 4.13.0-36-generic
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "development"
18 verbose node v8.9.4
19 verbose npm  v5.6.0
20 error code ELIFECYCLE
21 error errno 1
22 error @ development: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
22 error Exit status 1
23 error Failed at the @ development script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

Can you give a hint how to fix this error ?

Thanks!

7th March, 2018

mstdmstd started a new conversation Error Refering This.$refs By Name • 4 months ago

Hello, I have Laravel 5.5/Vue :2.5.13 application and looking at this demo https://jsfiddle.net/5k4ptmqg/431/ I want to make scrolling to the some element with ref "porto" when big page is loaded, like:

                <fieldset   >
                    <legend>Your calendar</legend>
                    &nbsp;<i class="glyphicon glyphicon-list-alt" title="Add Dummy user's events for current month" @click="recalcUserEvents(1)">Add Dummy user's events</i>
                    <div class="col-sm-12" ref="porto">
                        <div class="comp-full-calendar test-fc">
                            <events-calendar :eventsArray="yourEventUsersArray" :editable="true"></events-calendar>
                        </div>

                    </div>
                </fieldset>   
               ...



        mounted() {
            this.goto('porto')
            ...
        },
        
        methods: {

            goto(ref_name) {

               if ( ref_name == 'porto' ) {

                    console.log("this.$refs::")  // I show printscreen below
                    console.log( this.$refs )

                    console.log("!!!ref_name::")
                    console.log( ref_name )

                    var element = this.$refs[ref_name];
//                    var element = this.$refs.porto;  //  IF UNCOMMENT THIS VAR IS EMPTY!
                }
                console.log("?????? element::")
                console.log(element);   // THIS VAR IS EMPTY!

                if ( typeof element!= "undefined") {
                    var top = element.offsetTop;
                    console.log("INSIDE top::")
                    console.log( top )

                    window.scrollTo(0, top);
                }
            },

But element var is empty, while this.$refs is array with 1 element: https://imgur.com/a/RBiNN

Why error and how to fix it ?

Thanks!

5th March, 2018

mstdmstd left a reply on How To Use Laravel In Vuejs Admin Dasboard • 4 months ago

I have to mention I made this option :

Integrate vuejs frontend into Laravel. Basically you put all the files from adminify/src/ into /resources/assets/js/ in your Laravel project folder. So main.js becomes your entry point and you need to replace app.js with it in webpack.mix.js. You'll also likely need to copy axios headers configuration from Laravel's resources/assets/js/bootstrap.js into adminify's http.js. Then you configure your Laravel routes to serve same view (your frontend app) on all routes except your backend Api routes which gonna return json data to your frontend.

mstdmstd left a reply on How To Use Laravel In Vuejs Admin Dasboard • 4 months ago

Hello, I updated nodejs and npm to the latest versions and run all install commands with success. Now on

php artisan serve

command i run http://127.0.0.1:8000/ site - that is ardinary laravel welcome page.

I have a resources/assets/js/menu.js file but do not know how to tie it and embed it to my app.

Could you please give a hint or reference to a tutorial in which direction to move ahead?

Thanks!

mstdmstd left a reply on How Make List Of Buttons With Popover Text • 4 months ago

Thank you that was helpfull! I do it as :

            <li v-for="(popoverData, index) in popoverDataArray">

                <button v-popover="{ name: 'hint_'+popoverData.id, event :'hover' }" >

                    Toggle popover # {{ popoverData.id }}

                </button>

                <popover :name="'hint_'+popoverData.id">
                    <span v-html="popoverData.text"></span>
                </popover>

            </li>

the only thing that does not work is event , I expect that with the parameter

event :'hover'

popover text must be when mouse is OVER a button ? But that does not happaen and I have to click anyway...

4th March, 2018

mstdmstd left a reply on Add Highlightjs-line-numbers.js To Components/highlightjs • 4 months ago

I added import of highlightjs-line-numbers, like:

<script>
    ...
    import 'highlight.js/styles/rainbow.css'; // That works ok

    import 'highlight.js/lib/highlight.js'; // That works ok and looking at this file it has : 
    /*
Syntax highlighting with language autodetection.  - I can not see which version is this lib
https://highlightjs.org/
*/


    import 'highlightjs-line-numbers.js/dist/highlightjs-line-numbers.min.js';  // that file has no version in its content
    ...

I got error in console:

highlight.js not detected!

if line with highlightjs-line-numbers.min.js is not commented

and highlightjs-line-numbers functionality does not work. If to output hljs variable ti console, it shows: https://imgur.com/a/C6m5u

How to fix it ?

Thanks!

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.