Closed
Description
- Version: v6.2.1, v6.2.0
- Platform: Windows 10, x64
Steps:
- Mount network drive
V:\ = \\CASTOR\
- Install any npm-package (e.g. ajv) to
\\CASTOR\scope\
- Launch locally installed node with cwd:
V:\scope\
(or launch node from network disk:V:\scope\node.exe
) - Write:
require("ajv"); console.log(Object.keys(require.cache)[0])
Output
node v6.1.0 (and previous): V:\scope\node_modules\ajv\lib\ajv.js
node v6.2.0 (and v6.2.1): \\CASTOR\scope\node_modules\ajv\lib\ajv.js
process.cwd()
in all versions: V:\\scope