pulsecron / pulse

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

Error: Cannot find module '@src/utils' #28

Closed kostysh closed 3 months ago

kostysh commented 3 months ago

Description

Something wrong has been introduced with the latest minor version. Unable to start an application with @pulsecron/pulse v1.4.2 (there are no issue in the 1.4.1)

Here is an example of the error:

Error: Cannot find module '@src/utils'
Require stack:
- /<path>/node_modules/.pnpm/@pulsecron+pulse@1.4.2_@aws-sdk+credential-providers@3.567.0_@aws-sdk+client-sso-oidc@3.567.0_viudxiygyx73fygsmtzmuc5qs4/node_modules/@pulsecron/pulse/dist/pulse/every.js
- /<path>/node_modules/.pnpm/@pulsecron+pulse@1.4.2_@aws-sdk+credential-providers@3.567.0_@aws-sdk+client-sso-oidc@3.567.0_viudxiygyx73fygsmtzmuc5qs4/node_modules/@pulsecron/pulse/dist/pulse/index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/<path>/node_modules/.pnpm/@pulsecron+pulse@1.4.2_@aws-sdk+credential-providers@3.567.0_@aws-sdk+client-sso-oidc@3.567.0_viudxiygyx73fygsmtzmuc5qs4/node_modules/@pulsecron/pulse/dist/pulse/every.js:5:17)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/<path>/node_modules/.pnpm/@pulsecron+pulse@1.4.2_@aws-sdk+credential-providers@3.567.0_@aws-sdk+client-sso-oidc@3.567.0_viudxiygyx73fygsmtzmuc5qs4/node_modules/@pulsecron/pulse/dist/pulse/every.js',
    '/<path>/node_modules/.pnpm/@pulsecron+pulse@1.4.2_@aws-sdk+credential-providers@3.567.0_@aws-sdk+client-sso-oidc@3.567.0_viudxiygyx73fygsmtzmuc5qs4/node_modules/@pulsecron/pulse/dist/pulse/index.js'
  ]
}

Code example

No response

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

@kostysh fix this bug v1.4.3

code-xhyun commented 3 months ago

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