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

Create react app can't start: events.js: 288

I created a new project with create-react-app: version 3.4.0 and then I ran 'npm start' and it gives me the following an error, I will copy paste it below this message. I searched everywhere and couldn't find a good solution for this issue. A 'bad'…
0
votes
0 answers

How to fix package.json to properly run my react app?

I'm having trouble launching my React App. I get the same message: "npm ERR! missing script: start" but I do have start in my package.json.
Khalil Idris
  • 1
  • 1
  • 3
0
votes
1 answer

What is needed (what to add to package.json) for OpenUI5 webapp to be able to run application as Node.js server application?

I am trying to develeop SAPUI5 / OpenUI5 SPA application as Node.js application and there is my package.json file: { "name": "societyaleph", "version": "1.0.0", "description": "Society Aleph", "main": "index.js", "scripts": { "start":…
TomR
  • 2,696
  • 6
  • 34
  • 87
0
votes
0 answers

npm start used to work on my computer and now it doesn't

Long story short, I bought an enterprise (custom made) laptop that wouldn't allow me to use npm start, no matter what kind of upgrades I made on package.json files. My I.T. consultant who sold me the laptop recommened I reinstall node.js on an…
Preston
  • 171
  • 1
  • 1
  • 9
0
votes
0 answers

Sytax error while debugging the npm code with PingID

I have integrated Ping ID code with Node JS application.Now,While running the npm start to start the server I am getting the error "Couldn't get an access token. Request has been terminated Possible causes: the network is offline, Origin is not…
PRAVEEN PDBR
  • 423
  • 1
  • 9
  • 25
0
votes
2 answers

Why doesn't "npm start" work on brand new-crated react project?

I'm using localhost:client davea$ npm -version 6.11.3 and following the advice here -- Issue with babel-jest dependency when running npm start in a React app , didn't do anything to help my situation. I want to start a completely blank project,…
Dave
  • 15,639
  • 133
  • 442
  • 830
0
votes
2 answers

Why npm start is getting error for react project?

I'm trying to start a React application, with npm but I get this error: events.js:174 throw er; // Unhandled 'error' event ^ Error: spawn cmd ENOENT at Process.ChildProcess._handle.onexit…
AdagioDev
  • 556
  • 5
  • 12
0
votes
0 answers

TypeError: Cannot read property 'height' of undefined when using Chart-Race-React

I have created a new React project with command npx create-react-app my-app and installed the package chart-race-react with npm install --save chart-race-react but when I run npm start i get the error: TypeError: Cannot read property 'height' of…
Amrouane
  • 143
  • 3
  • 16
0
votes
0 answers

Running npm start after creating a React app with: [npx create-react-app app-name doesn't] doesn't start anything

I am following the instructions from the official reactJs github repo : https://github.com/facebook/create-react-app 1. npm install -g create-react-app 2. npx create-react-app app-name After running : npm start Nothing happens as you may…
AG_HIHI
  • 1,705
  • 5
  • 27
  • 69
0
votes
1 answer

npm start doesn't work in a fresh React project

I have a few react projects and I wanted to create a new one, unforunately "npm start" doesn't execute anything in any of my projects anymore. I created a new sample React project with create-react-app testnpm and tried to use npm start,…
jsmunsch
  • 31
  • 3
0
votes
1 answer

How to solve npm start issue?

I have get the following error: It works on Linux, but does not work o Windows. What dependency I should install? I can not find Color npm dependecy
user11314257
0
votes
4 answers

I have problem while running npm start command in cmd in windows 10

I am new to React, please help me to solve this error, this screen shows when I try to run the command npm start after react the react project.
0
votes
0 answers

Npm packages are not installed by usimg NPM install command

I am working on a project based on Angular5. I need to set up an Angular5 code. When I open my code in visual studio code and try to install the packages by using the "NPM Install" command. I am using Angular 5 and CLI version is "1.2.5". I am…
0
votes
1 answer

NPM looking in wrong place for React module

Firstly I am not 100% certain my Question title is accurate being that I am very new to NPM/Node/React/VSCode. I am following a tutorial and am at a step where I created a React app using the command: PS C:\Users\me\Desktop\Programming\Net Core> npx…
user3626232
  • 149
  • 12
0
votes
1 answer

npm ERR ELIFECYCLE and ETARGET

How do i fix these two errors? When i type in npm start it gives me this error: error Command failed with exit code 127. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. npm ERR! code ELIFECYCLE npm ERR! syscall…
Muddi Hejjo
  • 233
  • 1
  • 3
  • 9