This repository was archived by the owner on Jul 6, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 166
-
Hi all,
Today I created new project use Deno, Aleph, React and import @std/datetime@0.161.0 package.
In Dev: Working normal
In Production: TypeError: Cannot set properties of undefined (setting '__private_0__format')
at new DateTimeFormatter (formatter.ts?v=l9t5zgkt:7:3956)
at format (mod.ts?v=l9t5zgkt:18:39)
"react": "https://esm.sh/react@18.2.0",
"react-dom": "https://esm.sh/react-dom@18.2.0",
"react-dom/": "https://esm.sh/react-dom@18.2.0/",
Code:
import { format } from "@std/datetime";
function DateImport() {
return (
Hello all! Today is: {format(new Date(), "dd-MM-yyyy")}
);
}
export default DateImport;
Thank you for advice. Have a nice day!
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment