-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Modules with relative and absolute path are not the same #7926
Comments
Is the require inside |
Yes, both requires are in the same file, inside the
|
Hi @sateffen I have test your script in both Mac osx 10.9 and Windows 7.1 64bit with Node version 0.11.13 and 0.10.29, but it seems not any problem, the result is always true, even use '===', it is true. |
Hmm, I found out, that it looks like an issue with one letter: The c: I found out, why my test is failing, it's the path.join(). And this path.join() creates a path, that goes hand in hand with the "bug" in the screenshots. Currently tested with Windows 8.1 64bit, in like an hour i'm at work, there I can test it with Windows 7 64bit. |
Ok, wait for the test results.... |
On windows 7 64 bit it's the same like above. So this looks like a general problem on windows machines? |
Yeah i think this is the same problem.... |
Yeah, you're right, the problem is mentioned there allready. I hope this will get fixed, cause it's some kind of odd behavior. My main problem is, that But I guess this is known in #7031 so this could be closed as duplicated. Sorry |
Closing as a duplicate. |
I just started to test my application with verison 0.11.13, and there is a pretty "interesting" bug, that is new:
will log false.
I tested this with some more files, and every time the required file is not the same, if one side uses the relative path, and the other one the absolute path.
This is new in version 0.11.13, with version 0.10.29 it's not like this. Is this intended?
I'm using windows 8.1 64bit. If you need to know something, let me know.
The text was updated successfully, but these errors were encountered: