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
1 answer

Error: [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/rest/RequestHandler' is not defined by /node_modules/eris/package.json

So i'm really new to this type of stuff. When running my 'npm start' command, it keeps dropping the following error below: [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/rest/RequestHandler' is not defined by "exports" in…
Firework
  • 219
  • 2
  • 15
2
votes
4 answers

npm run scripts not working, bur running scripts separately works

I have been trying to run scripts using NPM run scripts. However, it ends up in error. Package.json "scripts": { "ng": "ng", "start": "ng serve --open", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng…
2
votes
3 answers

how to solve this error when I run npm start in node.js

When I run the npm start command, I get this error. I had the latest version of npm installed but now I have installed an older one because the project is old and uses an older version of npm.this is my folder structure and my packag.json. Here is…
2
votes
1 answer

Error from chokidar after reinstalling np,

I have a recurring issue with npm start. First, it seems that every time after I removed everything in the src folder I will not be able to run npm start -- it will throw an error at start script. I have been solving that problem with deleting…
Eddie Lam
  • 579
  • 1
  • 5
  • 22
2
votes
0 answers

dyld: lazy symbol binding failed: Symbol not found: _FSEventStreamCreate

When trying to run npm start, I'm receiving two errors dyld: lazy symbol binding failed: Symbol not found: _FSEventStreamCreate dyld: Symbol not found: _FSEventStreamCreate This happens in every local repository on my machine, except one. What…
2
votes
0 answers

(electron.js) npm start does nothing

I am facing an issue with electron while i try to start my app. basically I did an npm start but it absolutely did nothing except printing out these 2 lines : "> test@1.0.0 start /home/devfreak/Documents/Desktop Development/test" "> electron ." My…
Ray
  • 43
  • 6
2
votes
2 answers

npm start giving errors

i am trying to create a react app by using NPX create react app and npm install runs fine but npm start which is supposed to run the code gives error. Here is the error > react-scripts start i 「wds」: Project is running at http://10.54.83.144/ i…
raju
  • 209
  • 7
  • 19
2
votes
2 answers

npm start Failed: at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:135:12)

I am totally new in React/nodjs world, but I am struggling with it for couple of days. I have installed node-v13.50.0-x64 Then I have run following commands: npm install expo-cli --global expo init myproject Then navigate to [myproject] location,…
R.Almoued
  • 219
  • 6
  • 16
2
votes
3 answers

after creating a react app npm start doesnt work. No error message given

Im new to react and am having some trouble setting up a new app. I have followed the tutorial here. https://reactjs.org/docs/create-a-new-react-app.html. However when i go to start npm it doesnt start and I get no error. Just put back into the…
user3927638
  • 101
  • 2
  • 5
2
votes
2 answers

How to fix that running any defined script in npm fails with error 3221225781

Running npm start, npm run or npm run-script fails with npm ERR! errno 3221225781 My node is cleanly installed stable version 10.16.3 LTS with npm 6.9.0 on Windows 10. Everything is installed on the default path on C:. My example is a minimal…
Karlsson
  • 203
  • 3
  • 13
2
votes
3 answers

npm start is not working in cmd and it is showing error as shown in image?

This image contains details about the error when I am typing npm-start I have created a react-app using create-react-app. I have created another app using the same but when I type npm-start, it displays an error and localhost:3000 stops working.
2
votes
1 answer

Cannot read property 'version' of null

I'm fairly new to Power BI. I want to replace the existing visual controls with my custom controls (Date slicer of its own with my custom Calendar). I created a new project as suggested by this tutorial. When I did so, it throws error. As many…
Jeyanth
  • 531
  • 2
  • 6
  • 19
2
votes
4 answers

Getting started with Create React App - "Cannot find module"

I'm using the "Getting Started" guide because I've been experiencing endless errors trying to create a react app so far when following tutorials. And straight away I'm running into a problem. When I run npx create-react-app my-app I get the…
Aristophanes
  • 475
  • 1
  • 9
  • 21
2
votes
2 answers

Cannot start Electron application - missing package.json

I'm currently doing a Python project where I want to display my results in an Electron application. I have seen a demo video on YouTube on how to set up Electron on a Mac. The video showed 3 simple steps to be executed in the terminal: git clone…
Vivek
  • 336
  • 2
  • 4
  • 18
2
votes
1 answer

Override root path in ReactJS

When I run my application using npm start, it runs on the root You can now view my-app in the browser. Local: http://localhost:3000/ I want to change it so it hits index.html using http://localhost:3000/my-app and doesn't directly…
newbie
  • 448
  • 2
  • 8
  • 25