]>
Commit | Line | Data |
---|---|---|
c2768f1e AM |
1 | --- node-v12.14.1/lib/internal/modules/cjs/loader.js~ 2020-01-07 13:16:01.000000000 +0100 |
2 | +++ node-v12.14.1/lib/internal/modules/cjs/loader.js 2020-01-25 16:53:22.188427110 +0100 | |
3 | @@ -1095,7 +1095,7 @@ Module._initPaths = function() { | |
4 | path.resolve(process.execPath, '..') : | |
5 | path.resolve(process.execPath, '..', '..'); | |
6 | ||
2ae41f2b JP |
7 | - const paths = [path.resolve(prefixDir, 'lib', 'node')]; |
8 | + const paths = ["/usr/lib64/node", "/usr/lib/node", "/usr/lib/node_modules", path.resolve(prefixDir, 'lib', 'node')]; | |
a6070ceb | 9 | |
1ed21df5 | 10 | if (homeDir) { |
14fd0e53 | 11 | ArrayPrototypeUnshift(paths, path.resolve(homeDir, '.node_libraries')); |