4 ms·
I don't get the node way of doing things. Why should the availability of modules be dependent on the current working directory? Seems brittle to me that your a
by Evidlo 8y ago
I don't get the node way of doing things. Why should the availability of modules be dependent on the current working directory? Seems brittle to me that your app can't find its libraries because you ran it one directory up/down from where it should be.
As for sudo, there is no situation in which you should use sudo with pip.
- Normal_gaussian 8y agoNode resolves relative to the path of the file requiring the module, not relative to the process cwd.