starter-kit-gsn icon indicating copy to clipboard operation
starter-kit-gsn copied to clipboard

ERROR : ln' is not recognized as an internal or external command

Open skqksh opened this issue 6 years ago • 6 comments

when I command 'npm install @openzeppelin/network' on powershell it returns error :

ln' is not recognized as an internal or external command

skqksh avatar Jan 06 '20 07:01 skqksh

It looks like network.js calls ln in preinstall, which doesn't exist on Windows: https://github.com/OpenZeppelin/openzeppelin-network.js/blob/master/package.json#L14

According to this StackOverflow answer, the way to do this is by using the New-Item cmdlet.

We should probably remove that preinstall script, or make it so that it only runs on unix platforms.

nventuro avatar Jan 06 '20 17:01 nventuro

Hi. @nventuro

I'll try.

And do you have any plans of update for windows?

Thanks.

skqksh avatar Jan 07 '20 00:01 skqksh

While we'd love to support Windows, we currently lack the bandwidth to do it, so the only supported platforms are Linux and Mac. Sorry :(

nventuro avatar Jan 07 '20 19:01 nventuro

Hi @skqksh,

Alternatively you may want to consider using Windows Subsystem for Linux (WSL). I previously developed on Windows 7 & 10 but have a much easier time with WSL.

abcoathup avatar Jan 09 '20 07:01 abcoathup

Reopen to track Windows support

abcoathup avatar Jan 10 '20 00:01 abcoathup

Alternatives are to use Windows Subsystem for Linux or to install using Git Bash terminal.

I have created an issue for OpenZeppelin Network.js to support Windows https://github.com/OpenZeppelin/openzeppelin-network.js/issues/27

abcoathup avatar Jan 31 '20 06:01 abcoathup