web3.js
web3.js copied to clipboard
Investigate `4.x` Symlinks Not Working On Windows
There was a report in the ChainSafe discord that the symlinks don't work on Windows and therefore the 4.x branch cannot be properly setup in a Windows env
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment.
Symlinks do not work for windows machines becauase symlinks are not compatible with linux paths.
in linux directories are specified with a forward slash for example tsconfig.types.json symlink: ../../config/tsconfig.types.json
In windows, this would be:
..\..\config\tsconfig.types.json
Replacing the symlinks with a copy of the file would be the easiest option to allow our project to be built in both linux and windows machines.
Edit: Had a chat with Junaid and this PR can wait until after release.
@luu-alex have you tried building 4.x using: Windows Subsystem for Linux (WSL)