Compilation error in OpenZeppelin Contracts on Windows

Hi @ylv-io and @manolingam,

The issue appears to be developing natively with Windows.
I vaguely remember (two years ago) having to swap the from / to \ in import statements though I haven’t been able to find any documentation on this.

I’m running Windows Subsystem for Linux with no issues. I unfortunately don’t have a pure Windows environment that I can use to reproduce at the moment.

An alternative for experimentation is to use Remix with GitHub imports (see Deploy a simple ERC20 token in Remix)

In production the Windows recommendation is to use Windows Subsystem for Linux. (see https://docs.microsoft.com/en-us/windows/nodejs/setup-on-windows#use-windows-subsystem-for-linux-for-production)

1 Like