Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

The file or directory to be published does not exist #48

Open
fasi1208 opened this issue Apr 13, 2020 · 2 comments
Open

The file or directory to be published does not exist #48

fasi1208 opened this issue Apr 13, 2020 · 2 comments

Comments

@fasi1208
Copy link

Hi, thanks for the plugin. I have installed it via the composer. Now when I am trying to view a basic sample of the chart. It's giving me an error.

ChartJs::widget([ 'type' => 'line', 'options' => [ 'height' => 400, 'width' => 400 ], 'data' => [ 'labels' => ["January", "February", "March", "April", "May", "June", "July"], 'datasets' => [ [ 'label' => "My First dataset", 'backgroundColor' => "rgba(179,181,198,0.2)", 'borderColor' => "rgba(179,181,198,1)", 'pointBackgroundColor' => "rgba(179,181,198,1)", 'pointBorderColor' => "#fff", 'pointHoverBackgroundColor' => "#fff", 'pointHoverBorderColor' => "rgba(179,181,198,1)", 'data' => [65, 59, 90, 81, 56, 55, 40] ], [ 'label' => "My Second dataset", 'backgroundColor' => "rgba(255,99,132,0.2)", 'borderColor' => "rgba(255,99,132,1)", 'pointBackgroundColor' => "rgba(255,99,132,1)", 'pointBorderColor' => "#fff", 'pointHoverBackgroundColor' => "#fff", 'pointHoverBorderColor' => "rgba(255,99,132,1)", 'data' => [28, 48, 40, 19, 96, 27, 100] ] ] ] ]);

Error

The file or directory to be published does not exist: F:\xampp\htdocs\mdc/vendor\bower/chartjs/dist

Note: I am using yii2

@buttflattery
Copy link

same for me i have the bower directory configurations changed in my config file and have changed the location to other than the vendor/bower directory.

@matteo-cerioni
Copy link

This error happens when using "minimum-stability": "dev" in both version 2 and version 3 of 2amigos/yii2-chartjs-widget .

It works good after setting "minimum-stability": "stable" in your composer.json file.

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

No branches or pull requests

3 participants