Code Monkey home page Code Monkey logo

Comments (5)

euphoricdev avatar euphoricdev commented on August 20, 2024 1

Oh thank you so much thats exactly the info I needed - now its working!!

from laravel-fullcalendar.

Edofre avatar Edofre commented on August 20, 2024

Hello,

Hm, I've not seen that error before, apparently there is a bug that has to do with the fxp/composer-asset-plugin, see these links for more information and a fix.

https://stackoverflow.com/questions/49940646/composer-fail-on-update-with-npm-signature-error

fxpio/composer-asset-plugin#321

from laravel-fullcalendar.

euphoricdev avatar euphoricdev commented on August 20, 2024

Hi, thanks for that - I did see a different thread on the fxp issue - I tried every prior version from 1.4.0 to see if I could get it going, but still the error with previous versions of that package, so I thought it might be something with yours. So while there is this issue, I am now trying to install manually as a work around, but I'm getting an error:

In ProviderRepository.php line 208:

Class 'Edofre\Fullcalendar\FullcalendarServiceProvider' not found

I have taken a copy of your package, uploaded it into the vendor folder, edofre/fullcalendar. I have entered the namespace and autoload settings by putting this line into autoload_namespace.php and autoload_psr4.php:
'Edofre\Fullcalendar\' => array($vendorDir . '/edofre/fullcalendar/src'),

I entered in the provider and facade setting into composer.json:
provider:
Edofre\FullcalendarScheduler\FullcalendarSchedulerServiceProvider::class,
facade:
'Fullcalendar' => Edofre\FullcalendarScheduler\Facades\FullcalendarScheduler::class,

i have then run the publish commands:

php artisan vendor:publish --tag=config
php artisan vendor:publish --tag=fullcalendar

and run composer dump-autoload

but I am getting that error with any artisan command, and of course on the page it self.

There is not a huge lot of information out there around manual package install - can you please tell me if you think I have done anything wrong or missed a step?

I am running laravel 5.6 on ubuntu 16.04, composer 1.6.4, artisan installed.

Hoping you can shed some light so I can get going, thanks!

from laravel-fullcalendar.

euphoricdev avatar euphoricdev commented on August 20, 2024

]

from laravel-fullcalendar.

Edofre avatar Edofre commented on August 20, 2024

I'm not sure about manual installs, but if I check my installation I can see you need the following entries in your autoload_classmap.php

'Edofre\\Fullcalendar\\Event' => $vendorDir . '/edofre/laravel-fullcalendar/src/Event.php',
    'Edofre\\Fullcalendar\\Facades\\Fullcalendar' => $vendorDir . '/edofre/laravel-fullcalendar/src/Facades/Fullcalendar.php',
    'Edofre\\Fullcalendar\\Fullcalendar' => $vendorDir . '/edofre/laravel-fullcalendar/src/Fullcalendar.php',
    'Edofre\\Fullcalendar\\FullcalendarServiceProvider' => $vendorDir . '/edofre/laravel-fullcalendar/src/FullcalendarServiceProvider.php',
    'Edofre\\Fullcalendar\\JsExpression' => $vendorDir . '/edofre/laravel-fullcalendar/src/JsExpression.php',
    'Edofre\\Fullcalendar\\JsonEncoder' => $vendorDir . '/edofre/laravel-fullcalendar/src/JsonEncoder.php',

And in your autoload_static.php

'Edofre\\Fullcalendar\\Event' => __DIR__ . '/..' . '/edofre/laravel-fullcalendar/src/Event.php',
        'Edofre\\Fullcalendar\\Facades\\Fullcalendar' => __DIR__ . '/..' . '/edofre/laravel-fullcalendar/src/Facades/Fullcalendar.php',
        'Edofre\\Fullcalendar\\Fullcalendar' => __DIR__ . '/..' . '/edofre/laravel-fullcalendar/src/Fullcalendar.php',
        'Edofre\\Fullcalendar\\FullcalendarServiceProvider' => __DIR__ . '/..' . '/edofre/laravel-fullcalendar/src/FullcalendarServiceProvider.php',
        'Edofre\\Fullcalendar\\JsExpression' => __DIR__ . '/..' . '/edofre/laravel-fullcalendar/src/JsExpression.php',
        'Edofre\\Fullcalendar\\JsonEncoder' => __DIR__ . '/..' . '/edofre/laravel-fullcalendar/src/JsonEncoder.php',

Not that the directory laravel-fullcalendar is different from your fullcalendar directory, so you should adjust accordingly.

from laravel-fullcalendar.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.