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

Error: Module did not self-register #414

Closed
titanism opened this issue Aug 1, 2024 · 3 comments
Closed

Error: Module did not self-register #414

titanism opened this issue Aug 1, 2024 · 3 comments
Assignees

Comments

@titanism
Copy link

titanism commented Aug 1, 2024

This error only occurs in test runners via ava:

  Error: Module did not self-register: '/Users/user/Projects/web/node_modules/.pnpm/[email protected]/node_modules/node-libcurl/lib/binding/node_libcurl.node'.

  › Object.<anonymous> (node_modules/.pnpm/[email protected]/node_modules/node-libcurl/dist/Easy.js:5:18)
  › Object.<anonymous> (node_modules/.pnpm/[email protected]/node_modules/node-libcurl/dist/Curl.js:17:16)
  › Object.<anonymous> (node_modules/.pnpm/[email protected]/node_modules/node-libcurl/dist/index.js:15:14)
  › Object.<anonymous> (helpers/get-apn-certs.js:30:18)
  › Object.<anonymous> (helpers/send-apn.js:15:21)
  › Object.<anonymous> (helpers/imap/on-append.js:43:17)
  › Object.<anonymous> (helpers/imap/index.js:16:18)
  › Object.<anonymous> (helpers/imap.js:6:18)
  › Object.<anonymous> (helpers/index.js:55:14)
  › Object.<anonymous> (app/controllers/web/denylist.js:15:28)
  › Object.<anonymous> (app/controllers/web/index.js:38:18)
  › Object.<anonymous> (routes/web/admin.js:11:13)
  › Object.<anonymous> (routes/web/index.js:32:15)
  › Object.<anonymous> (routes/index.js:6:13)
  › Object.<anonymous> (config/api.js:10:16)
  › Object.<anonymous> (test/utils.js:22:19)
  › Object.<anonymous> (test/api/v1.js:21:15)
@titanism
Copy link
Author

titanism commented Aug 1, 2024

@JCMais can you please add worker thread support to this project? ava by default uses worker threads

@titanism
Copy link
Author

titanism commented Aug 1, 2024

Looks like a dup of #169

@JCMais
Copy link
Owner

JCMais commented Aug 1, 2024

@titanism yes, I believe so. I will close this one.

I will probably have some time to look into #155 later this month, possibly a requirement for #169, but I cannot give any estimation related to #169 itself after that work is done.

#155 requires a substantial rewrite of the addon.

@JCMais JCMais closed this as completed Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants