-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Problem in installing truffle-environment #2264
Comments
hey @amintalebi can you try installing without sudo? I believe that's not the npm-recommended way of installing packages. We've noticed doing so tends to cause permissions-related issues. |
Hi, I delete .git folders in order to get in done. |
Looks like the same issue as web3/web3.js#2971, which has an open PR to fix. I haven't checked... does truffle-environment use websocket directly or is this error bubbling up from web3? |
@amintalebi not to hijack, but as an FYI you don't need to use sudo when using ubuntu on windows. install node with |
Thank you so much @DavidBurela. |
@amintalebi Did you install Node using a node version manager? This is something that npm recommends and, as @DavidBurela said, it usually resolves these kinds of errors. Let me know how it goes if you try it! |
HI @amintalebi are you still having a problem with this? Let us know, thanks! |
No, not anymore. |
Hi, I got same problem, I resolved it installing truffle with Homebrew, |
@migueljulve @fainashalts Isn't it a problem to install with homebrew ? Is seems that they are a few versions late is that right ? |
We cannot vouch for, nor support homebrew's installation of Truffle. |
The text was updated successfully, but these errors were encountered: