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
2 answers

This command requires Expo CLI

I have npm 6.4.1 and expo-cli 2.6.0 installed on my windows but when i will run my reactnative project with npm start i get this error:
yaghob abbasi
  • 96
  • 1
  • 12
0
votes
1 answer

npm start failed _this.compiler.applyPluginsAsync is not a function

please help me to understand what is the problem when I start npm start I have a error _this.compiler.applyPluginsAsync is not a function npm version is 6.4.1 node version is v 10.13.0 my package.json file "devDependencies": { "@types/enzyme":…
0
votes
0 answers

NPM 'run start' command giving "npm ERR! code ELIFECYCLE" error

I'm trying to run NPM with npm run start command but I'm getting this error: > @ start C:\Users\Aristophanes > cd packages/react-scripts && node bin/react-scripts.js start The system cannot find the path specified. npm ERR! code ELIFECYCLE npm ERR!…
Aristophanes
  • 475
  • 1
  • 9
  • 21
0
votes
1 answer

Cant "npm start" with Express-generator

What I did was install express-generator and created project. As asked I went into project directoy, did npm install and SET DEBUG=project:*, but I cannot npm start afterwards. This is the full log: 0 info it worked if it ends with ok 1 verbose cli…
0
votes
1 answer

How do I resolve this NPM / Yeoman error log for an Office Add-in (Outlook)?

I am following Microsoft Office Add-in Project Generator - YO OFFICE!. When I try to npm start, it crashed, and I show the command line output below. Points to note: the Yeoman yo office command reported no errors and ended with "Congratulations!…
Mawg says reinstate Monica
  • 38,334
  • 103
  • 306
  • 551
0
votes
0 answers

How do I fix a runtime error when using webpack with React?

How would I even start to debug this issue with my webpack failure to compile file in my terminal? Here is the error in the terminal: ERROR in ./app/components/App.js Module not found: Error: Can't resolve 'react-router-dom' in…
ogAndrew
  • 101
  • 1
  • 9
0
votes
1 answer

Cannot start npm after installing react ERR! react-scripts start

While using redux with react. I was trying to do npm start for my app(reactwithredux) after installing react-redux and redux libraries . I see this error below. I'm trying to figure it out myself, but no luck so far. Please help me…
Preetham
  • 1
  • 1
0
votes
1 answer

First app with create-react-app, npm start not working

I am trying create my first react app and running into issues basically at step 1. I am trying npm start on the default create-react-app install and I am getting the follow error. I have included screenshots showing create-react-app ran successfully…
N. Amin
  • 57
  • 1
  • 8
0
votes
2 answers

Not able to run my node app at port 80 on ubuntu 16.04

I want to run my node app at port 80 in ubuntu 16.04. But the moment I'm trying to run my app with npm start its throwing error Port in already in use whereas it's not in use. According to Github Reply, We need root privileges to run on ports below…
Raj Bhatia
  • 1,049
  • 4
  • 18
  • 37
0
votes
0 answers

WEBPACK ERROR: When I do npm start, I am getting "Invalid number of parameters" Error

Very new to webpack. I am obviously doing something wrong or doing something wrong. But No what that is. In my package.json, under scripts, I have defined my own scripts which I would want to run for my project. In build, I am just copying content…
Nauman
  • 894
  • 4
  • 14
  • 45
0
votes
0 answers

Setting up NPM on windows 10

After installation when I type node -v or npm -v on the command line it throws an error saying : 'npm' is not recognized as an internal or external command, operable program or batch file. Help me with solution please.
0
votes
1 answer

npm start returning an error

I am having difficulty with an error when I run 'npm start' on my mean.js application. I will paste both the terminal output and the code from the file with the error.…
chody
  • 189
  • 1
  • 1
  • 10
0
votes
0 answers

Facing error when running npm Production

When i am trying to run npm as Production then i am getting the error throw new JS_Parse_Error(message, filename, line, col, pos); but npm dev is working fine
0
votes
1 answer

Error while npm start : author issue

I am getting an error while npm start in command prompt: package.json: { "name": "reactapp", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "start":…
0
votes
1 answer

"npm start" in bash script is not working remotely

I have a bash script that include "npm start" , and i run this bash from a telegram API remotely, normally does not work. but if i just login to the root user in console of my debian-stretch , that API does work ! so where is my problem ?…
Nima Zand
  • 1
  • 3