Questions tagged [npm-start]

For questions relating specifically to the starting of a development server in a Node.js (npm) project.

This runs an arbitrary command specified in the package's "start" property of its "scripts" object. If no "start" property is specified on the "scripts" object, it will run node server.js.

As of npm@2.0.0, you can use custom arguments when executing scripts. Refer to npm-run-script for more details.

To find more information :

678 questions
0
votes
1 answer

How to uninstall multiple plugins at a time using npm-uninstall?

I would like to uninstall set of plugins all at one time Example: npm uninstall plugin1,plugin2,... It should uninstall all the plugins
ssomu
  • 79
  • 7
0
votes
0 answers

Object prototype may only be an Object or null: undefined TypeError: Object prototype may only be an Object or null: undefined

I'm very new to angular. No idea of this issue as well as about basic error messages caused due to ignorance. I installed an external module using npm install. After that, when I run npm start , it gives an error like this. I have no idea of this…
Udith Indrakantha
  • 860
  • 11
  • 17
0
votes
1 answer

npm start ERROR - can't create local server

I am learning React, I created react app, i typed cd davidsapp, but when I run npm install i get warnings and errors, and when I input npm start, I get all the errors posted in this link. What can I…
0
votes
0 answers

React start npm doesn't work - error event occured

I'm trying to start a new react environment using npx command. While the npx is working and the directory is formed, when I try to start it won't work (using npm start). This is the error I'm getting: Here's a snapshot of the error I'm receiving:…
0
votes
3 answers

Error in "npm start" for newly created project

I just created a react js project. Then I run "npm start" for run the project. this error come and I am stuck here for 1 day now. I have already have other reactJS projects. This error came for all other projects. That's why I tried it with new…
suranga upul
  • 211
  • 3
  • 6
0
votes
0 answers

I'm trying to figure out why "yarn start" command won't complete because of the error (as I understand, something with port)

I'm trying to start my project by using these 2 basic scripts: "start": "webpack-dev-server --env.mode development --env.port 8080", "build": "webpack --env.mode production". Unfortunately, I keep on getting the next error: events.js:174 …
A.P.
  • 11
  • 3
0
votes
0 answers

NPM throwing missing but exists - only a problem one machine

I have a repo (React, Webpack4, npm, babel) which installs & runs fine on my machine (original and fresh clone) but when pulled down to another machine it throws an error on npm start (after successfully runnning npm install. Module not found:…
Rich
  • 970
  • 2
  • 16
  • 42
0
votes
0 answers

Npm err! code ELIFECYCE unable to run npm start

i'm learning react i have a sample code that i'm working on i'm trying to get it to work after running npm install and npm start but i receive the following error > live-server public/ Serving "public/" at http://127.0.0.1:8080 events.js:180 …
Hendrx
  • 69
  • 2
  • 3
  • 10
0
votes
0 answers

How can I solve this problem in starting npm?

I am getting this problem please help I am learning React JS and also I asked for the first time a question on stackoverflow forgive me if breaked any protocol of asking question. 'webpack-dev-server' is not recognized as an internal or external…
0
votes
1 answer

react scripts not found

I have a problem running npm start from my newly created project, the thing is the problem doesn't seem to occur outside of this folder (its a git repo, so it needs to be in here). If i create a new project in another folder and run npm start I have…
0
votes
1 answer

"npm err! missing script: start npm err!" in generating Angular app with Hyperledger composer

I have followed the developer docs at "https://hyperledger.github.io/composer/v0.19/tutorials/developer-tutorial.html" and I have been stuck at the last command "npm start" giving the error stated in the title. ". This is my package.json script…
0
votes
1 answer

docker container is not able to reach out to my localhost

I have installed docker toolbox recently and created a new container called "superawesomecontainer2" for training porpuses and every time I run this container I have to re-install my package.json and if I used -p 3001:3001 so I can run my server at…
kyrolos magdy
  • 393
  • 1
  • 4
  • 19
0
votes
1 answer

npm start works on eclipse and doesn't in visual studio code

npm start works fine on eclipse but in visual studio code it shows the error below: ng2@1.0.0-SNAPSHOT start E:\workspaces... gulp buildNoRev && gulp connect | ng serve --proxy-config proxy.conf.json --port 4201 --base-href…
L.E
  • 83
  • 1
  • 1
  • 7
0
votes
0 answers

Inside the Node script - npm ERR! code ELIFECYCLE

I have very interesting problem. I have node + react script. Example folders in below; /client(React is here) ...some react folders + files ...package.json /models /routes /package.json When i try the create-react-app client in different folder…
mehmetdemiray
  • 976
  • 4
  • 13
  • 32
0
votes
1 answer

npm start dosen't launch or starts any react app

I just create a new react app using create-react-app and it worked as well , then I just cd into this app and tried npm start and then nothing worked & nothing appeared in the console 1- I have tried to remove node-module and then npm install…
kyrolos magdy
  • 393
  • 1
  • 4
  • 19