pulsecron / pulse

The modern MongoDB-powered job scheduler library for Node.js
https://pulsecron.com
MIT License
90 stars 4 forks source link

error with first installation - Error: Cannot find module '@src/utils' #29

Closed matanswisa closed 3 months ago

matanswisa commented 3 months ago

Description

I tried the sample code from the npm - https://www.npmjs.com/package/@pulsecron/pulse I also tried to use es6 syntax and regular node.js syntax , I still get this error.

Code example

node:internal/modules/cjs/loader:1056 throw err; ^

Error: Cannot find module '@src/utils' Require stack:

Additional context

No response

code-xhyun commented 3 months ago

Thank you for the issue! I will solve these and give you an answer as soon as possible.

code-xhyun commented 3 months ago

@matanswisa fix this bug v1.4.3

matanswisa commented 3 months ago

I use js not typescript , I dont have every.ts file

code-xhyun commented 3 months ago

Did you update it to the 1.4.3 version?

matanswisa commented 3 months ago

I update pulse in my package.json to version 1.4.3 did npm install and it works , thank you.

code-xhyun commented 3 months ago

I update pulse in my package.json to version 1.4.3 did npm install and it works , thank you.

Nice! @matanswisa 🔥

This issue has been resolved with the recent updates. Closing now.