I changed it so that we are using a previous date-fns version as the solution, I saw a solution by a student that changed the import to:
import {format} from "date-fns";
Which fixes the build step but causes this error on npm start:
Uncaught TypeError: Failed to resolve module specifier "date-fns". Relative references must start with either "/", "./", or "../".
So the fastest solution I found was reverting the npm version but changing the import line is likely the solution we want, I could not get any imports working myself however
I changed it so that we are using a previous date-fns version as the solution, I saw a solution by a student that changed the import to:
import {format} from "date-fns";
Which fixes the build step but causes this error on npm start:
Uncaught TypeError: Failed to resolve module specifier "date-fns". Relative references must start with either "/", "./", or "../".
So the fastest solution I found was reverting the npm version but changing the import line is likely the solution we want, I could not get any imports working myself however