Skip to content

No file or variants found for asset: packages/chartjs_flutter/assets/chart.umd.min.js. #3

Description

@RafaelVatista

When adding the package and trying to run the app it gives this error:

No file or variants found for asset: packages/chartjs_flutter/assets/chart.umd.min.js.

The pubscpec.yaml is the following:

flutter:

The following line ensures that the Material Icons font is

included with your application, so that you can use the icons in

the material Icons class.

uses-material-design: true

To add assets to your application, add an assets section, like this:

assets:
- resources/translations/
- resources/mocks/
- resources/images/
- resources/audio/
- packages/chartjs_flutter/assets/chart.umd.min.js
- packages/chartjs_flutter/assets/chart_template.html

When doing ls ~/.pub-cache/hosted/pub.dev/chartjs_flutter-1.0.0/assets/ the files are there:
chart_template.html chart.umd.min.js

Tried to work with the indentation but still not working.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions