Update Charts.js composer require in README.md for Drupal 10

Created on 19 October 2023, 11 months ago
Updated 27 October 2023, 11 months ago

Problem/Motivation

For Drupal 10.1.5, it appears that the composer require --prefer-dist npm-asset/chart.js:^3.3 command is creating some errors. In my installation, npm-asset/chart.js (3.9.1) was installed. This led to several errors.

Using composer require --prefer-dist npm-asset/chart.js:3.7 worked on my local environment

Steps to reproduce

On a Drupal 10.1.5 installation, install Charts with the Charts.js submodule. Follow the instructions in the README.md for both Charts and Charts.js submodule. Load a page with charts.

Proposed resolution

Update the README.md with updated version information for Drupal 10 installs.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

5.0

Component

Chart.js integration

Created by

πŸ‡ΊπŸ‡ΈUnited States MJK73

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024