OpenZeppelin / workshops

Code and slides for OpenZeppelin Workshops
428 stars 277 forks source link

signer.js is empty? #3

Closed elranu closed 3 years ago

elranu commented 3 years ago

Hi, I´m having compilation issues with this file. https://github.com/OpenZeppelin/workshops/blob/master/01-defender-meta-txs/app/src/eth/signer.js

./src/eth/signer.js
SyntaxError: C:\Dev\repos\workshops-Oz\01-defender-meta-txs\app\src\eth\signer.js: Unexpected token (1:0)

> 1 | ../../../src/signer.js
    | ^

Any idea? Did I miss some step?

abcoathup commented 3 years ago

Hi @elranu,

I ran the workshop code on WSL2 (Window Subsystem for Linux) on Windows 10. I haven't tested just on Windows 10.

You may want to try using WSL2.

elranu commented 3 years ago

Yes, on WSL2 works good. Thanks.

abcoathup commented 3 years ago

Hi @elranu,

Glad to hear that WSL2 solved the issue. I recommend using WSL2 as much of the ecosystem was developed for and tested on Linux.