1

when i try to run the command "npm install drizzle" on my machine it don't work. i install drizzle-react and drizzle-react-components without problem but "npm install drizzle" don't work. Any ideas?

closed as off-topic by Ismael, shane, alberto, Majd TL, Richard Horrocks Aug 6 at 14:21

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be about Ethereum, the decentralized application platform and smart contract enabled blockchain, within the scope defined in the help center." – Ismael, shane, alberto, Majd TL, Richard Horrocks
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    what's the output of npm install drizzle? – Badr Bellaj Aug 5 at 10:26
  • npm ERR! path git npm ERR! code ENOENT npm ERR! errno ENOENT npm ERR! syscall spawn git npm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t git://github.com/frozeman/WebSocket-Node.git npm ERR! enoent npm ERR! enoent npm ERR! enoent spawn git ENOENT npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent – Riccardo Perelli Aug 5 at 10:32
  • and so much more error, i just can't write it at all. – Riccardo Perelli Aug 5 at 10:32
  • edit your question and add the output given by npm – Badr Bellaj Aug 5 at 10:47
0

I think your error is not related to drizzle but to git. You need to install git in your machine to have it working. Here's where you can download it for windows https://git-scm.com/download/win

once installed check using git --version

  • the problem is still here i've installed the git version 2.22 anche check it but "npm install drizzle" still don't work – Riccardo Perelli Aug 5 at 11:35
  • try git config --global url."https://".insteadOf git:// – Badr Bellaj Aug 5 at 11:55
  • try to add the npm output – Badr Bellaj Aug 5 at 11:56
  • the command don't work again but now i got different errors message – Riccardo Perelli Aug 5 at 12:38
  • npm ERR! path C:\Users\Ricca\Drizzle\app\node_modules\websocket npm ERR! code EISGIT npm ERR! git C:\Users\Ricca\Drizzle\app\node_modules\websocket: Appears to be a git repo or submodule. npm ERR! git C:\Users\Ricca\Drizzle\app\node_modules\websocket npm ERR! git Refusing to remove it. Update manually, npm ERR! git or move it out of the way first. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Ricca\AppData\Roaming\npm-cache_logs\2019-08-05T12_36_54_831Z-debug.log – Riccardo Perelli Aug 5 at 12:38

Not the answer you're looking for? Browse other questions tagged or ask your own question.