yii2fullcalendar icon indicating copy to clipboard operation
yii2fullcalendar copied to clipboard

all .css and .js files not found !!

Open paskuale75 opened this issue 5 years ago • 13 comments

fullcalendar.min.css not found locale-all.js not found fullcalendar.js not found locale-all.js not found .... why ?!

paskuale75 avatar Apr 24 '19 23:04 paskuale75

hmm, need to check where they moved due to update to 4.x release

philippfrenzel avatar Apr 25 '19 07:04 philippfrenzel

Do you know the solution to do this? if I go back to version ^3. it return me another error, it doesn't find bower-asset / moment !! Thanks

paskuale75 avatar Apr 25 '19 10:04 paskuale75

in my composer.json I added this : "philippfrenzel/yii2fullcalendar": "*", composer update response:

Updates: philippfrenzel/yii2fullcalendar:4.0.2
  - Downgrading philippfrenzel/yii2fullcalendar (dev-master 453c997 => 4.0.2):  Checking out 53c8b2f524c5f5d85bd30f6ed7ba34b563479782
    Rolling back changes:
      453c997 - Philipp Frenzel: Update .travis.yml
      ff209eb - Philipp Frenzel: Update composer.json
      51241c9 - Philipp Frenzel: Update README.md
    REASON: Required by the root package: Install command rule (install philippfrenzel/yii2fullcalendar dev-master|install philippfrenzel/yii2fullcalendar 1.5.4|install philippfrenzel/yii2fullcalendar 2.1.1|install philippfrenzel/yii2fullcalendar 2.2.5|install philippfrenzel/yii2fullcalendar 2.2.6|install philippfrenzel/yii2fullcalendar 2.2.7|install philippfrenzel/yii2fullcalendar 2.3.2|install philippfrenzel/yii2fullcalendar 2.3.3|install philippfrenzel/yii2fullcalendar 2.4.0|install philippfrenzel/yii2fullcalendar 2.4.2|install philippfrenzel/yii2fullcalendar 2.5.0|install philippfrenzel/yii2fullcalendar 2.5.1|install philippfrenzel/yii2fullcalendar 2.5.2|install philippfrenzel/yii2fullcalendar 2.5.3|install philippfrenzel/yii2fullcalendar 3.0.0|install philippfrenzel/yii2fullcalendar 3.0.1|install philippfrenzel/yii2fullcalendar 3.0.2|install philippfrenzel/yii2fullcalendar 3.0.3|install philippfrenzel/yii2fullcalendar 3.5.4|install philippfrenzel/yii2fullcalendar 3.5.5|install philippfrenzel/yii2fullcalendar 3.5.6|install philippfrenzel/yii2fullcalendar 3.5.7|install philippfrenzel/yii2fullcalendar 3.6.0|install philippfrenzel/yii2fullcalendar 3.6.1|install philippfrenzel/yii2fullcalendar 3.6.2|install philippfrenzel/yii2fullcalendar 3.6.4|install philippfrenzel/yii2fullcalendar 3.6.6|install philippfrenzel/yii2fullcalendar 3.6.7|install philippfrenzel/yii2fullcalendar 3.6.8|install philippfrenzel/yii2fullcalendar 3.7.0|install philippfrenzel/yii2fullcalendar 3.7.1|install philippfrenzel/yii2fullcalendar 3.8.0|install philippfrenzel/yii2fullcalendar 3.8.0.1|install philippfrenzel/yii2fullcalendar 3.9.0|install philippfrenzel/yii2fullcalendar 4.0.2|install philippfrenzel/yii2fullcalendar dev-fullcalendar16|install philippfrenzel/yii2fullcalendar dev-master)

why ?

paskuale75 avatar Apr 25 '19 12:04 paskuale75

hmm, looks like you switched from dev-master to * -> and you prefere stable... ;) I removed the momentassets from coreassets -> i will check the assets this evening (18 CET)

philippfrenzel avatar Apr 25 '19 12:04 philippfrenzel

the strange thing is that if I open the CoreAsset.php file I still see this on line 62, why not update it at your last commit (ec5f9fd27f66c52d44d92d4cf5d0bc16629176ff) ?

/**
     * [$depends description]
     * @var array
     */
    public $depends = [
        'yii\web\YiiAsset',
        'yii2fullcalendar\MomentAsset',
        'yii2fullcalendar\PrintAsset'
    ];

thanks, see you later ;)

paskuale75 avatar Apr 25 '19 12:04 paskuale75

my composer.json contain this

"minimum-stability": "dev",
    "prefer-stable": true,

can this be the reason why the coreAsset.php file is not updated ? Thanks

paskuale75 avatar Apr 26 '19 10:04 paskuale75

I actually have the same problem fullcalendar.min.css not found locale-all.js not found fullcalendar.js not found locale-all.js not found

Reyemneirda avatar Jun 19 '19 12:06 Reyemneirda

Same

mcki0127 avatar Jun 22 '19 01:06 mcki0127

My composer config looks like this:

"minimum-stability": "dev",
"require": {
    ...
    philippfrenzel/yii2fullcalendar":"*",
    ...
}
"config": {
    "process-timeout": 1800,
    "fxp-asset": {
        "installer-paths": {
            "npm-asset-library": "vendor/npm",
            "bower-asset-library": "vendor/bower"
        }
    }
}

@vendor/bower contains fullcalendar and fullcalendar-scheduler

But when I try to load the yii2fullcalendar widget, I get 404 Not Found errors for: /assets/a67ed08d/fullcalendar.print.css /assets/a67ed08d/fullcalendar.min.css /assets/a67ed08d/fullcalendar.js /assets/a67ed08d/locale-all.js

I can't say exactly when this broke, but it was working up until recently.

The yii2fullcalendar composer has:

"require": {
    "yiisoft/yii2" : "*",
    "yiisoft/yii2-jui" : "*",
    "bower-asset/fullcalendar" : "^4.0.2@stable",
    "bower-asset/fullcalendar-scheduler" : "^4.0.2@stable"
},

Will bower-asset/fullcalendar find bower full-calendar as I have it written in my config "bower-asset-library": "vendor/bower"? It doesn't appear so. What do I need to change?

mcki0127 avatar Jun 22 '19 12:06 mcki0127

It's not finding the assets because they're not there. The CoreAsset sourcepath is: public $sourcePath = '@bower/fullcalendar/dist'; But there are no files in the dist directory. bower

Just for kicks, I manually copied the files from another extension and pasted them into bower/fullcalendar/dist and it's working fine. Why would the files not be there?

mcki0127 avatar Jun 22 '19 21:06 mcki0127

I have a new install and I am seeing the same thing. I have found most of the js files and copied them into the requested location, but I can't find the fullcalendar.js file.

erichatfield avatar Jun 29 '19 01:06 erichatfield

https://github.com/ColorlibHQ/AdminLTE/tree/master/bower_components/fullcalendar/dist

mcki0127 avatar Jun 29 '19 01:06 mcki0127

Thanks

erichatfield avatar Jul 08 '19 16:07 erichatfield