Reputation: 3337
I have a React application, that has been working fine for a long time suddenly none of the npm commands in the package.JSON file works.
{
"name": "fitness-appication-frontend",
"version": "0.1.0",
"private": true,
"dependencies": {
"react": "^16.10.2",
"react-chat-ui": "^0.3.2",
"react-dom": "^16.10.2",
"react-scripts": "0.9.5"
},
"devDependencies": {},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
}
}
whenever i try to run a npm command nothing happens in the terminal it just returns blank like such
kristoffer@kristoffer-ThinkPad-T570:~/Skrivebord/Fitness-Application/fitness-application-frontend$ npm start
kristoffer@kristoffer-ThinkPad-T570:~/Skrivebord/Fitness-Application/fitness-application-frontend$
Is anybody familiar with this issue?
It only happens when i try to run these commands, the built in ones, like npm install
works fine enough.
output of npm start run -dd
npm info it worked if it ends with ok
npm verb cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'start', '-dd' ]
npm info using [email protected]
npm info using [email protected]
npm verb run-script [ 'prestart', 'start', 'poststart' ]
npm info lifecycle [email protected]~prestart: [email protected]
npm info lifecycle [email protected]~start: [email protected]
npm info lifecycle [email protected]~poststart: [email protected]
npm verb exit
Upvotes: 2
Views: 88