[bugfix] windows incompatibilty#376
Conversation
|
Thanks for contributing @SylTi! Do you know if there are other issues besides this with regards to Windows compatibility? |
|
This is not releated to Windows in general: if you use Power Shell or other terminals (i.e. the one integrated into Visual Studio Code) the problem does not appear. It happens with For example, a common
This tells Windows to consider files with those extensions as executables. When you run the To get rid of this particular problem, you can override the default PATHEXT system environment variable with a user environment variable, removing the .JS extension from the admitted values. IMHO it's better to use a safer
|
|
@frangio obviously the script to run the test/coverage etc are not working. they could be migrated to an npm script instead. |
|
Yes I agree that the change is harmless enough that we can merge it. |
|
Actually, the change broke the coverage analysis. I'm going to have to revert it and open an issue until sc-forks/solidity-coverage#93 is fixed. |
…ibilty [bugfix] windows incompatibilty
Currently running 'truffle test' or any other truffle cmd on windows open the truffle.js file. Renaming it solve that issue.