error while making the git link to the local - javascript

$ 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

Related

npm create-react-app or npx create-react-app is not working

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

New to React i am facing this start error in react

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows
PS D:\React> cd textutils
PS D:\React\textutils> npm start
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path D:\React\textutils/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'D:\React\textutils\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\Rohan Singla\AppData\Local\npm-cache\_logs\2022-08-09T05_03_35_157Z-debug-0.log
PS D:\React\textutils> npm start
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path D:\React\textutils/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'D:\React\textutils\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\Rohan Singla\AppData\Local\npm-cache\_logs\2022-08-09T05_04_02_318Z-debug-0.log
PS D:\React\textutils> npm start
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path D:\React\textutils/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'D:\React\textutils\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\Rohan Singla\AppData\Local\npm-cache\_logs\2022-08-09T05_10_17_763Z-debug-0.log
PS D:\React\textutils>
Open your C:\Program Files\nodejs
you need to change one thing in your 4 files i.e.
open your npm, npm.cmd, npx, npx.cmd and edit prefix -g with prefix --location=global.
and save it as administration.
Do this👆🏼

there is a error when i run 'npm i ' install node_moudles in 'vue-element-admin'created by PanJiaChen

npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent An unknown git error occurred
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\Administrator\AppData\Local\npm-cache_logs\2022-05-19T09_36_53_862Z-debug.log enter image description here

npm ERR! code ENOENT errno -2 missing package.json?

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 run build is returning an error when I try to deploy a react app on firebase

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.

Categories

Resources