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

No renderer for this activity - Microsoft Bot Framework Emulator qnamaker

When I run the qnamaker chatbot, I get this message on the emulator along with the answers when I type a question. { "type":"trace" "serviceUrl":"http://localhost:port#" "channelId": "emulator" etc } Is this an error. If not, how…
2
votes
6 answers

Angular CLI project failed to compile

I've searched all the web but find not relevant solution. I've uninstalled both @angular/cli and node.js, cleared cache and reinstalled the latest version for the two both as an admin and non-admin yet no result. Below is the error message: ERROR…
Olawale Oladiran
  • 561
  • 2
  • 11
  • 19
2
votes
1 answer

The project name '@mapbox/react-native-mapbox-gl' must not contain any of the following characters: [/, \, :, <, >, ", ?, *, |]

I'm using mapbox/react-native-mapbox-gl packpage in react native and I get the following error while running react native app through in command line. A problem occurred configuring project ':@mapbox/react-native-mapbox-gl'. The project name…
Mahendra Pratap
  • 3,174
  • 5
  • 23
  • 45
2
votes
1 answer

I have added webpack-server still it shows this error while running npm start

Enterprise-User-Management@1.0.0 start C:\Users\503100765\Documents\USM\user-management set NODE_ENV=development && set API_ROOT=http://localhost:7010/api/v1 && webpack-serve --config ./config/webpack.dev.js 'webpack-serve' is not recognized as an…
Harshitha
  • 35
  • 2
  • 9
2
votes
4 answers

npm start not working after create-react-app

I am trying to create a react app with the below steps: npm install -g create-react-app create-react-app my-app cd my-app npm start And I get this error: In error have suggestion to remove webpack dependency but i cant do that because in file…
Kentang
  • 110
  • 1
  • 1
  • 8
2
votes
0 answers

ERROR in [at-loader] TS2688: Cannot find type definition file for 'webpack-env'

I'm trying to run 'npm start' in the project. It is showing "ERROR in [at-loader] TS2688: Cannot find type definition file for 'webpack-env'." Along with this, I'm getting the following error as well: 'TS2304: Cannot find name 'require'.'…
Shyave
  • 21
  • 2
2
votes
1 answer

found 40 vulnerabilities (7 low, 31 moderate, 1 high, 1 critical)

I am getting following error while running npm uninstall... Can anyone please help to resolve... I have done almost everything to fix this... npm WARN react-star-rating-component@1.4.1 requires a peer of react@^16.2.0 but none is installed. You must…
Ashwini singh
  • 51
  • 1
  • 7
2
votes
2 answers

npm start how to specify start file other than index.js

I run create-react-app then switch to directory and run npm start. Just wondering how I would specify a different file than index.js to start on the server Here's my package.json file: { "name": "todo", "version": "0.1.0", "private": true, …
DCR
  • 14,737
  • 12
  • 52
  • 115
2
votes
2 answers

How to run "npm start" within eclipse IDE

I have a ReactJS application with dependencies managed by npm. I use eclipse as an IDE. My application runs using "npm start" command. To execute "npm start" command, I need to open terminal window and run it there. I would like to run this command…
Bipul
  • 1,564
  • 1
  • 15
  • 16
2
votes
1 answer

Customize build directory in 'npm start' command

I have Angular app built with npm and web-pack served on Tomcat web server. Command npm run build builds all JS files into /build directory of the project, but npm start uses /out directory. Is there any way to force npm start using /build…
Sasha Shpota
  • 9,436
  • 14
  • 75
  • 148
2
votes
1 answer

Nodemon for development environment

I wanted to know how to use nodemon, and push it to a git repo, and have other developers on the project be able to use nodemon without having to run the command npm install -g nodemon. Ideally, I would like all developers on the project to be able…
ddeamaral
  • 1,403
  • 2
  • 28
  • 43
2
votes
2 answers

Npm server with Typescript error TS18003

Setting up the environment for the Angular 2 with typescript. npm lite run successfully, but after installing typescript and add script for the start, there is error error TS18003: No inputs were found in config file…
faisaljanjua
  • 886
  • 2
  • 13
  • 28
2
votes
4 answers

How to avoid restarting server every time I need to make a React change?

I'm having an issue in my React environment where I must restart ('npm start') my server every time I want to view an update in the browser. Others seem to be able to simply refresh the browser without the need to restart their servers. For…
robhitt
  • 71
  • 2
  • 7
2
votes
2 answers

How to set up a conditional npm script based on the output of another?

This is an issue I have run into before when trying to set something up with npm scripts, yet I have not been able to solve it. Not even sure this is possible, preferably I would like the solution to work in both Mac and Windows environments. I'm…
SnailCrusher
  • 1,354
  • 12
  • 10
2
votes
1 answer

Cannot find name 'Promise' error when i use 'npm start' command

Am new to Angular 2. I completed 5 min Quickstart tutorial and moved on to try this ScotchIO example. Am just trying to use the same exact code as is in the example. When i run npm start command after installing node module through npm install am…
swetha akula
  • 516
  • 3
  • 6