-
Notifications
You must be signed in to change notification settings - Fork 11.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bugfix] windows incompatibilty #376
[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.