Comments (1)
Hi, @roee030!
As you can see from the error, the problem comes from ESLint. It can be a number of things that are unrelated to @vangware/cron
, so I recommend you check the following:
- Make sure
eslint
(and its plugins) is up-to-date: Probably, an outdated version of ESLint cannot figure out ESM imports. - Check your
node
version and ensure you're on an LTS or bigger version (18 or above): Old versions of Node can't resolve ESM packages such as@vangware/cron
. - If you're using VSCode, make sure its ESLint plugin is updated: An old version of an ESLint plugin could be giving you an error that is not there.
I also recommend you remove the import/no-unresolved
rule (let TypeScript resolve that using a tsconfig.json
file, even if you aren't using TS directly, you can use that feature with vanilla JavaScript) and instead have import/no-extraneous-dependencies
enabled, which will give you an error if you try to import from somewhere not declared in your dependencies. If you're interested, you can check all the rules we use at Vangware, here.
from cron.
Related Issues (2)
- Generate list of dates 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 cron.