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

JS breaks javascipt:compile during course build #13

Open
chrisgillison opened this issue Jun 21, 2021 · 2 comments
Open

JS breaks javascipt:compile during course build #13

chrisgillison opened this issue Jun 21, 2021 · 2 comments

Comments

@chrisgillison
Copy link

In Framework 5.14.0, a file in the js folder breaks the javascript:compile at course build. Error is:

src\components\adapt-chartjs\js\Chart.min.js: Cannot read property 'type' of undefined

@YuGeYe
Copy link

YuGeYe commented Jul 11, 2022

Hi chrisgilison,did you solve this problem?

@chrisgillison
Copy link
Author

You could try the following YuGeYe...

  1. Create a new folder called 'libraries' in the course's 'src' folder
  2. Move Chart.min.js out of the adapt-chartjs/js folder and into the 'libraries' folder
  3. Update the path in chartjsView.js line 4

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

2 participants