Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all .css and .js files not found !! #140

Open
paskuale75 opened this issue Apr 24, 2019 · 13 comments
Open

all .css and .js files not found !! #140

paskuale75 opened this issue Apr 24, 2019 · 13 comments

Comments

@paskuale75
Copy link
Contributor

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

@philippfrenzel
Copy link
Owner

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

@paskuale75
Copy link
Contributor Author

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
Copy link
Contributor Author

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 ?

@philippfrenzel
Copy link
Owner

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)

@paskuale75
Copy link
Contributor Author

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 (ec5f9fd) ?

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

thanks, see you later ;)

philippfrenzel added a commit that referenced this issue Apr 26, 2019
@paskuale75
Copy link
Contributor Author

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

@Reyemneirda
Copy link

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

@mcki0127
Copy link

Same

@mcki0127
Copy link

mcki0127 commented Jun 22, 2019

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
Copy link

mcki0127 commented Jun 22, 2019

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?

@erichatfield
Copy link

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
Copy link

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants