I am trying to follow this tutorial to get a twitch plays node server up. I installed node.js. I go to the node.js command prompt, CD to the folder containing all the information that I downloaded from the tutorial, type npm install as said in the tutorial and I get this error:
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git#github.com/martynsmith/node-irc.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
npm ERR! A complete log of this run can be found in:
error log: here (Download)
Install gitbash from here - https://gitforwindows.org/
and run npm install in it - see if that works for you.
do cd "~documents/mde/front mission"
and perform npm install
Related
this is the error i got every time
I try all-most everything re-installing npm re-installing node
npm ERR! code ENOENT
npm ERR! syscall spawn pwsh
npm ERR! path C:\Users\Dipan\react-data
npm ERR! errno -4058
npm ERR! enoent spawn pwsh ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Dipan\AppData\Local\npm-cache\_logs\2023-01-10T09_37_51_103Z-debug-0.log
$ npm i
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path E:\hr74\Hr-Portal-Team-74/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'E:\hr74\Hr-Portal-Team-74\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Ramya\AppData\Local\npm-cache_logs\2023-01-24T04_43_05_564Z-debug-0.log
Ramya#DESKTOP-1O1S1H1 MINGW64 /e/hr74/Hr-Portal-Team-74 (master)
i tried to run the code but iam getting this erorr
npx create-react-app project1 npm ERR! code ENOENT npm ERR! syscall
spawn powershell npm ERR! path /home/timothy npm ERR! errno -2 npm
ERR! enoent spawn powershell ENOENT npm ERR! enoent This is related to
npm not being able to find a file. npm ERR! enoent
npm ERR! A complete log of this run can be found in: npm ERR!
/home/timothy/.npm/_logs/2023-01-10T18_38_05_978Z-debug-0.log
I've tried everything I know. I just need help before I give up.
I am quite new to JS. I am trying to install something from git with
npm install git+https://github.com/celer-network/cBridge-typescript-client.git
And I get
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /Users/ich/.npm/_cacache/tmp/git-clonerawpRN/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/Users/ich/.npm/_cacache/tmp/git-clonerawpRN/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ich/.npm/_logs/2022-01-11T11_09_15_020Z-debug-0.log
I am using PyCharm on a MacBook Pro.
Best,
Dominik
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\Users\Myname\Desktop\god\package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\Myname\Desktop\god\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Myname\AppData\Roaming\npm-cache\_logs\2021-09-02T07_53_41_547Z-debug.log```
You should check you have a package.json file in the directory you run npm install because the error isn't linked with npm.