Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

integration Standard Library #517

Unanswered
w7en asked this question in Q&A
Discussion options

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!

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /