Skip to content
This repository has been archived by the owner on Aug 6, 2020. It is now read-only.

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

Open
skqksh opened this issue Jan 6, 2020 · 6 comments
Open

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

skqksh opened this issue Jan 6, 2020 · 6 comments
Labels
bug Something isn't working

Comments

@skqksh
Copy link

skqksh commented Jan 6, 2020

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

ln' is not recognized as an internal or external command

@nventuro
Copy link
Contributor

nventuro commented Jan 6, 2020

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.

@skqksh
Copy link
Author

skqksh commented Jan 7, 2020

Hi. @nventuro

I'll try.

And do you have any plans of update for windows?

Thanks.

@nventuro
Copy link
Contributor

nventuro commented Jan 7, 2020

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 nventuro closed this as completed Jan 7, 2020
@abcoathup
Copy link
Contributor

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
Copy link
Contributor

Reopen to track Windows support

@abcoathup
Copy link
Contributor

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
OpenZeppelin/openzeppelin-network.js#27

@abcoathup abcoathup added the bug Something isn't working label Jan 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants