Comments (3)
@kurkle maybe we need dependencies
rather than peerDependencies
. this package certainly requires [email protected]
so shouldn't there be a dependency declared in package.json
? since there is no declared dependency it seems to be resolving the older version (even though both versions are available) and failing.
adding the dependency will make yarn/npm populate a siloed node_modules tree within the installed code and everything should work.
from chartjs-adapter-date-fns.
Listing as peer dependency does not help with missing functions. I think you have to pin a version prior to 1.0.0 to use with date-fns v1
from chartjs-adapter-date-fns.
#39 would solve this
from chartjs-adapter-date-fns.
Related Issues (20)
- Fix startOf function for isoWeek HOT 1
- New npm release? HOT 1
- Via Webpack
- Will you update NPM? HOT 1
- Failed to use with Chart.js 3.0.2 and time x axis HOT 2
- First tick label is not being rendered HOT 5
- Support timezone? HOT 4
- Wrong chartjs version in readme. HOT 2
- Importing adapter to typescript file HOT 3
- How to configure locale with bundled (CDN) chartjs-adapter-date-fns.bundle.min.js? HOT 1
- Can we push a new release?
- Don't require "Chart.js"
- Add cdnjs link in readme HOT 2
- Update dependency chart.js@"^4.0.0" HOT 6
- Uncaught TypeError: Cannot read properties of undefined (reading '_adapters') HOT 14
- `No "exports" main defined` error with Vitest
- Error: No "exports" main defined HOT 1
- Error [ERR_REQUIRE_ESM] HOT 1
- chart.min.js:13 Uncaught SyntaxError: Cannot use import statement outside a module (at chart.min.js:13:1) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chartjs-adapter-date-fns.