Comments (3)
Thank you for bringing this up!
there was an issue upgrading to new ES module system. It's now fixed and we have again a deployment for node.
Tested with plain node 18.14 and also within nestjs.
Please use Release 1.3.8 (latest)
from feiertagejs.
I'm getting the same error in my application.
__vite_ssr_import_2__.getHolidays is not a function
from feiertagejs.
I'm getting a similar error in a Nest.js backend:
Error: require() of ES Module /build/.yarn/cache/feiertagejs-npm-1.3.6-2d454dab8a-fc7a7b3ec0.zip/node_modules/feiertagejs/build/feiertage.umd.js from /build/dist/service/service.js not supported.
Instead change the require of feiertage.umd.js in /build/dist/service/service.js to a dynamic import() which is available in all CommonJS modules.
when importing
import { isHoliday } from "feiertagejs";
from feiertagejs.
Related Issues (20)
- Maria Himmelfahrt in Bayern HOT 1
- Add Weltfrauentag in Berlin as Holiday HOT 1
- make isHoliday immutable HOT 1
- Reformationstag missing for Hamburg region
- Public Holiday missing Bavaria HOT 2
- Public Holiday 'Reformationstag' HOT 1
- Please publish a new version HOT 3
- IE11
- isSpecificHoliday HOT 1
- Reformationstag in Schleswig-Holstein HOT 1
- What is "BUND" in Region documentation ? HOT 4
- Holiday 'Frauentag' is missing 'Mecklenburg-Vorpommern' state HOT 1
- Holiday 'Reformationstag' is missing 'Schleswig-Holstein' state HOT 1
- Holiday 'Ostersonntag' is missing 'Hessen' state HOT 1
- Holiday 'Pfingstsonntag' is missing 'Hessen' HOT 1
- NPM package is missing region 'AUGSBURG' in the typescript types HOT 1
- getHolidays() and getHolidayByDate() should return region array HOT 3
- "Weltfrauentag" regions wrong HOT 1
- Type property "regions" missing for type Holiday 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 feiertagejs.