You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm importing this library into a react (v19.0.0) project using:
import React, { useMemo } from "react";
import { Line } from "react-chartjs-2";
import { Chart as ChartJS, registerables } from "chart.js";
import "chartjs-adapter-date-fns";
When I run a build I get the following issue:
x Using `export * from '...'` in a page is disallowed. Please use `export { default } from '...'` instead.
| Read more: https://nextjs.org/docs/messages/export-all-in-page
,-[/Users/me/app/node_modules/date-fns/index.js:177:1]
174 | export * from "./nextMonday.js";
175 | export * from "./nextSaturday.js";
176 | export * from "./nextSunday.js";
177 | export * from "./nextThursday.js";
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
178 | export * from "./nextTuesday.js";
179 | export * from "./nextWednesday.js";
180 | export * from "./parse.js";
`----
The text was updated successfully, but these errors were encountered:
I'm importing this library into a react (v19.0.0) project using:
When I run a build I get the following issue:
The text was updated successfully, but these errors were encountered: