danielgtaylor / danielgtaylor/aglio
Error: Module did not self-register.
- Dominant language
- CoffeeScript
- Stars
- 4.7k
- Forks
- 471
- PR merge metrics
- No merged PRs in 30d
Description
I've had Aglio installed on Centos 7 for a while now, and it's been working great. However after a 'yum update' last week, Aglio no longer works and simply throws up the following error;
`
aglio --theme-full-width -i docs2.apib -o docs2.html
module.js:598
return process.dlopen(module, path._makeLong(filename));
^
Error: Module did not self-register.
at Object.Module._extensions..node (module.js:598:18)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/usr/lib/node_modules/aglio/lib/main.js:9:17)
at Object. (/usr/lib/node_modules/aglio/lib/main.js:220:4)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
`
I've attempted to uninstall both aglio and nodejs/npm and re-install them all, but it didn't resolve the issue.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the failure with the reported aglio command on CentOS 7, then start at /usr/lib/node_modules/aglio/lib/main.js:9 where the native module is required. Check which dependency produces the “Module did not self-register” error after the yum update. Done means the command completes and generates docs2.html without that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100