4 ms·Node resolves relative to the path of the file requiring the module, not relative to the process cwd.by Normal_gaussian 8y agoNode resolves relative to the path of the file requiring the module, not relative to the process cwd.