You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hameds-MacBook-Pro:React-course Hamed_Iam$ npm start
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /Users/Hamed_Iam/Desktop/React-course/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/Users/Hamed_Iam/Desktop/React-course/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/Hamed_Iam/.npm/_logs/2021-01-24T08_26_52_110Z-debug.log
Please provide more detailed steps that led to this issue. From the log above seems like you don't have the package.json file in the folder where you run npm start. Maybe you ran npm start in the wrong folder?
hameds-MacBook-Pro:React-course Hamed_Iam$ npm start
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /Users/Hamed_Iam/Desktop/React-course/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/Users/Hamed_Iam/Desktop/React-course/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/Hamed_Iam/.npm/_logs/2021-01-24T08_26_52_110Z-debug.log
package.json
{
"name": "my-app",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.3",
"@testing-library/user-event": "^12.6.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-scripts": "4.0.1",
"web-vitals": "^0.2.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
The text was updated successfully, but these errors were encountered: