Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm package install/remove errors on websocket directory #2

Open
chaseadam opened this issue Jun 27, 2019 · 3 comments
Open

npm package install/remove errors on websocket directory #2

chaseadam opened this issue Jun 27, 2019 · 3 comments

Comments

@chaseadam
Copy link
Contributor

Not sure if this is part of our configuration or something universal to truffle (boxes):

npm ERR! path /home/achasen/tmp/truf/node_modules/websocket
npm ERR! code EISGIT
npm ERR! git /home/achasen/tmp/truf/node_modules/websocket: Appears to be a git repo or submodule.
npm ERR! git     /home/achasen/tmp/truf/node_modules/websocket
npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.

Workaround: remove the directory

@chaseadam
Copy link
Contributor Author

@chaseadam
Copy link
Contributor Author

resolved in 1.0.29 theturtle32/WebSocket-Node#353

@chaseadam
Copy link
Contributor Author

version websocket@1.0.26 dependency to web3-providers-ws@1.0.0-beta.37

latest web3-providers has a relaxed dependency:
https://github.com/ethereum/web3.js/blame/f2ac320bd925a1659eba9cb5e8f171fb0bf69f46/packages/web3-providers/package.json#L31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant