sbs20 / scanservjs

SANE scanner nodejs web ui
https://sbs20.github.io/scanservjs/
GNU General Public License v2.0
686 stars 137 forks source link

Fix various `v3` snagging issues #696

Closed sbs20 closed 7 months ago

sbs20 commented 7 months ago

Closes #686 Closes #692 Closes #693 Closes #694

This is mostly documentation. But it also defines the least awful way to resolve require(...) paths where a plugin (i.e. config.local.js) is in a symlinked directory.

Node uses the absolute path of a module to determine how require works. When the module is in a symlinked directory then things go bad.