-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Contracts do not deploy on Windows due to filenames with colons (i.e., ":") in them #558
Description
It seems the ovm compiler does not work on windows. When you try to deploy to one of the L2 nodes with windows it just throws a transaction error. If you do the same command on a Linux subsystem it works fine and it's fine on macs.
Error on windows:
Success on windows subsystem Linux:
You can see a big difference in the input data on windows vs Linux:
The left one is the successful deployment on Linux and the right one is the bad deployment on windows. both using the same code. As you can see the successful one is double the length.
it would be great if you guys did document this for windows users. The solution is to install Linux windows system on your windows machine and then execute the deploy script through your Linux windows system and it all works fine!
It also seems that your repo itself has : in file names, which means you can not clone it successfully on windows as windows does not support : in file names:
Be great if you could change these so it supports cloning on every OS this could also be why it does not deploy on windows. Thanks



