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

Start script missing error when running npm start in node-js

I am a beginner to react-js, I am trying to running my first app in reactjs but here getting error with npm start, please help me how to start npm. node js version v12.1.0 npm version npm -v 6.9.0 Here my error while I am running npm,…
marton mar suri
  • 109
  • 2
  • 14
0
votes
1 answer

React-native - npm-start not working - giving error with metro - events.js:183 throw er

I am trying to run a react native application in Android from Linux server, now I am getting this error when trying to start npm server with npm-start'. > test0app@0.0.1 start /home/lenovot430/Documents/ReactProjects/test0app > node…
mad_greasemonkey
  • 864
  • 2
  • 15
  • 32
0
votes
0 answers

Node server shuts down when terminal closed

I am trying to run my node server as a background process using forever. When I close the putty terminal the server still shuts down. What am I doing worng? command: forever -c "npm start &" ./ package.json "name": "server", "version": "1.0.0", …
jrocc
  • 1,274
  • 2
  • 18
  • 48
0
votes
2 answers

I am trying to start npm but it's showing error as please try to re-compling

I am trying to run the node application but when i starts running npm using npm start it's showing error as node_module_version 64: please try re-compling or re-installing.
santhosh s
  • 21
  • 6
0
votes
1 answer

React app created using create-react-app failing to start, returns error

I used create-react app to create a new react application, when I try to start it using the command npm start, it returns the following error: > warbler-client@0.1.0 start /mnt/c/Users/Debchakra/Desktop/warbler/warbler-client > react-scripts…
Deb
  • 349
  • 1
  • 3
  • 11
0
votes
0 answers

Development webpack building taking lot of time

I'm working on an Angular 4 project (created through JHipster), which takes a lot of time to build the project on startup as well as rebuilding after making minor change to any of the file. It takes minimum of 10 minutes to build a appox. 4500…
Naseer
  • 31
  • 6
0
votes
0 answers

Deployment folder when npm start or ng serve in Angular 6

npm start / ng serve build and serve the angular application. But, which folder deploy the files ? I need to place manually a static file there. It is only for local environment.
user2992476
  • 1,536
  • 2
  • 17
  • 29
0
votes
1 answer

Npm not able tp find File - ENOENT

Npm not able tp find File Npm error file I encountered this problem after a friend zipped the file to me. I have also tried npm init but after that error continues. i need help on how to go about this
Jude Obiejesi
  • 86
  • 1
  • 15
0
votes
3 answers

NodeJS server doesn't start with pm2

When I'm trying to start my nodeJS-server with pm2 it stops or returns an error. Here's the relevant package.json file: "scripts": { "start": "nodemon --watch '**/*.ts' --exec ts-node index.ts", "bundle-colyseus-client": "browserify…
david
  • 1
  • 1
  • 2
0
votes
1 answer

Invalid channel name - What could be causing this?

I am working on a site that will have a chatbox on it, basically it has a bunch of channels for different languages as well a channel for moderators and a channel for announcements. I am getting an error [join] invalid channel name and since i'm so…
9900k
  • 1
  • 5
0
votes
1 answer

How to fix Node/NPM errors: ELIFECYCLE and ENOENT

I am trying to setup a site to receive bitcoin transactions where the users address is generated off there user id. I am using someone elses source code (already tried contacting creator, wouldn't help me) and am unable to get any help anywhere as…
9900k
  • 1
  • 5
0
votes
1 answer

npm start - errors and failure to load modules for Foundation Emails project

I am starting a new project with Zurb's Foundation for Emails. I have followed instructions, installed Node.js (11.5), Homebrew, and Git. Created a new project with "foundation new" and selected the Email option. I named the project and saved it,…
AC_DCEDH
  • 67
  • 1
  • 1
  • 6
0
votes
0 answers

npm start throwing error while starting on react project

While running npm start command, I'm getting following error: Starting the development server... events.js:183 throw er; // Unhandled 'error' event ^ Error: watch /home/ruchit/codes/react/myapp/public ENOSPC at FSWatcher.start…
Ruchit Dalwadi
  • 311
  • 1
  • 2
  • 13
0
votes
0 answers

angular2-qrscanner Refused to load media from 'blob:https:///'

Please help. Not able to host angular2-scanner over azure WebApp. While running over localhost:4200 the component works like a charm. But after hosting all browsers start to give the following errors. Refused to load media from …
0
votes
0 answers

Unexpected result from building react-app

I have issue when building newest versions of React. When I run npm run build it builds in chunks. Result of build: File sizes after gzip: 34.45 KB build/static/js/1.2dd891c4.chunk.js 763 B build/static/js/runtime~main.229c360f.js 711 B…
prius
  • 103
  • 4
  • 12