Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: runtime import error import error #346

Merged
merged 3 commits into from
Sep 8, 2024

Conversation

daniel-hauser
Copy link
Owner

After merging #341 the scraper failed on runtime with the following error:

node:internal/modules/esm/resolve:265
    throw new ERR_MODULE_NOT_FOUND(
          ^

Error ***ERR_MODULE_NOT_FOUND***: Cannot find module '/app/dst/utils/currency' imported from /app/dst/messages.js
    at finalizeResolution (node:internal/modules/esm/resolve:265:11)
    at moduleResolve (node:internal/modules/esm/resolve:933:10)
    at defaultResolve (node:internal/modules/esm/resolve:1169:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:540:12)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:509:25)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:[38](https://github.com/daniel-hauser/moneyman/actions/runs/10759210526/job/29835599792#step:4:38))
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:[40](https://github.com/daniel-hauser/moneyman/actions/runs/10759210526/job/29835599792#step:4:40))
    at link (node:internal/modules/esm/module_job:95:36) {
  code: 'ERR_MODULE_NOT_FOUND',
  url: 'file:///app/dst/utils/currency'
}

This PR fixes the issue

@daniel-hauser daniel-hauser merged commit 2c13a21 into main Sep 8, 2024
4 checks passed
@daniel-hauser daniel-hauser deleted the fix/currency-import-error branch September 8, 2024 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant