sbs20 / scanservjs

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

Fix various `v3` snagging issues #696

Closed sbs20 closed 1 year ago

sbs20 commented 1 year 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.