Oh hi @knight9999, I just found your [StackOverflow
question](https://stackoverflow.com/questions/52361940/fs-stat-function-for-symlink-pointing-to-directory-in-windows)
and this issue when googling for the error messages in
https://github.com/apache/cordova-lib/issues/704
For me this is causing problems as `fs.existsSync` crashes with an error
message, I also can't follow the symlink with PowerShell or Cmder - only git
bash.
Your comment above gave me the idea to check:
```
C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_dependency_test-Sm2ttG\project>dir
plugins
Volume in drive C is System
Volume Serial Number is 1C2A-94E2
Directory of
C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_dependency_test-Sm2ttG\project\plugins
2018-09-21 14:29 <DIR> .
2018-09-21 14:29 <DIR> ..
2018-09-21 14:29 341 android.json
2018-09-21 14:29 <DIR> cordova-plugin-file
2018-09-21 14:29 <DIR> cordova-plugin-whitelist
2018-09-21 14:29 578 fetch.json
2018-09-21 14:29 <SYMLINK> Test1
[C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\spec\plugman\plugins\dependencies\Test1\]
3 File(s) 919 bytes
4 Dir(s) 13,884,665,856 bytes free
C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_dependency_test-Sm2ttG\project>cd
Test1
The system cannot find the path specified.
C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_dependency_test-Sm2ttG\project>
```
Manually using `cd
C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\spec\plugman\plugins\dependencies\Test1\`
(the path of the symlink) works though as it should.
[ Full content available at: https://github.com/apache/cordova-lib/issues/701 ]
This message was relayed via gitbox.apache.org for [email protected]