http://bugzilla.opensuse.org/show_bug.cgi?id=985350 http://bugzilla.opensuse.org/show_bug.cgi?id=985350#c2 --- Comment #2 from Adam Majer <amajer@suse.de> --- OK, so an idea is to 1. make `npm` install things under /usr/local prefix, not /usr 2. change nodejs to look again under /usr/lib{,64}/node 3. packaged nodejs modules to install under /usr/lib{,64}/node os Then /usr/lib{,64}/node_modules becomes legacy in OpenSUSE Rationale, 1. 'npm' shouldn't dump things under /usr - it should be treated as read-only filesystem 2. shouldn't really install executables under /var because that's local to system 3. /usr/local could theoretically be network shared, and it also has /usr/local/bin and all that stuff, so consistent if there are links to executables linked from /usr/local/bin to /usr/local/lib/node_modules. 4. current stuff installed on user machines under /usr/lib{,64}/node_modules keeps working Or, keep /usr/lib/node_modules as search path and install packaged nodejs modules there. And let users sort out if they don't want currently installed modules in search path? In either case, currently letting 'npm' install under /usr is not good. -- You are receiving this mail because: You are on the CC list for the bug.