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

Receiving this error when running 'npm start' on my React app

I'm getting back into web development after a break. When I run 'npm start' I am receiving this error Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:71:19) at Object.createHash…
1
vote
0 answers

Missing script : "start" while running npm start even though package.json is at the right place with all the scripts in it

Missing script : "Start" while running npm start even though package.json file is in the directory with scripts in it { "name": "typee", "version": "0.1.0", "private": true, "dependencies": { "@testing-library/jest-dom": "^5.16.5", …
1
vote
0 answers

NPM error eresolve when installing a package in react native

When I try to install a package or even update packages on my expo react native app, i get this error message: @davidguri ➜ /workspaces/EK-Student (main) $ npm i npm WARN ERESOLVE overriding peer dependency npm WARN While resolving:…
David Guri
  • 69
  • 5
1
vote
1 answer

how to switch between login and signup form using an anchor tag in react?

Everyone I am new to react and webdev. I was writing a code to switch between login and signup form in react. Where clicking the Don't have an account? Create account anchor would hide the login form and unhide the signup form. and vice-versa with…
1
vote
0 answers

npm start giving Error: error:0308010C:digital envelope routines::unsupported

The react project has a lot of old modules and when running npm start it is showing the following error - > trydo@0.1.0 start > node scripts/start.js Starting the development server... Error: error:0308010C:digital envelope routines::unsupported …
1
vote
1 answer

Npm not responding for changes in a .jsx file after saving it

I am trying to save the changes in a file named Comments.jsx but npm is not responding to that changes even I am making errors but for other files it is working properly. As you can see even there is error in Commets.jsx file but npm not responding…
1
vote
0 answers

When I want to open my react application this comes up. (npm start)

First this was a problem: Error: Cannot find module 'merge-stream' So I installed merge-stream and now this... I use npm start to open my react app. my-app@0.1.0 start react-scripts start node:internal/fs/utils:348 throw err; ^ Error: UNKNOWN:…
1
vote
2 answers

npm start error - No production canister_ids.json found. Continuing with local

Whenever I run npm start the same "error" message appears "No production canister_ids.json found. Continuing with local" At first there seemed to be a proxy problem, detectable in the browser console. I managed to solve it by editing the proxy in…
1
vote
1 answer

What is the difference between npm prestart and npm poststart?

I am familiar with npm start, but I don't know what does the prestart and poststart do exactly. Which script is runned before start (i.e.: pre or post). I wanna know to proper flow of it...? After doing some research I found prestart is called first…
Dhruv Parmar
  • 23
  • 1
  • 5
1
vote
1 answer

While run the React application getting error

You need to install 'webpack-dev-server' for running 'webpack serve'. Error: Cannot find module 'ajv/dist/compile/codegen' I getting error like this when give npm install to run React application. Please give solution to solve this issue.
1
vote
0 answers

npm install is giving an error after installing node js and visual studio community

C:\Users\HP\Desktop\ZTM\simplefolio> npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12) npm ERR! gyp ERR! stack at onErrorNT (node:internal/child_process:483:16) npm ERR! gyp ERR! stack at…
Aksha jain
  • 33
  • 3
1
vote
1 answer

Angular app-routing.module.ts: - error TS2322: Type '"enabled"' is not assignable to type 'InitialNavigation | undefined'

After I upgrade my project from Angular 11 to 14, I faced following error on "ng serve". Error: src/app/app-routing.module.ts:107:7 - error TS2322: Type '"enabled"' is not assignable to type 'InitialNavigation | undefined'. 107 …
persec10000
  • 820
  • 2
  • 10
  • 17
1
vote
1 answer

Lightning Chart sample failed with error:0308010C:digital envelope routines::unsupported

Any idea how to fix the attached errors after npm install and npm start lightning chart typescript example from github, running on Windows 11, the Manu Help shows Node.js: 16.14.2, but the vsc terminal node --version shows 18.12.0 Visual Studio Code…
Fred J.
  • 5,759
  • 10
  • 57
  • 106
1
vote
2 answers

"Something is already running on port 3000." when attempting to run React app using npm start, have tried various solutions, any other suggestions?

I have a React app made using create-react-app. I've been running this app without any issues for a few months now but have recently ran into an issue with starting the app because it says the port is in use. Here is the error message: Something is…
Clunis
  • 55
  • 1
  • 6
1
vote
1 answer

TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" - Again

I use Node.JS workspace with the following structure: root/ |- build/ |- ModuleA/ |- build/ |- ModuleB/ |- build/ |- WebAPI/ |- build/ |- server.ts build folder contains all the rollup…
Kok How Teh
  • 3,298
  • 6
  • 47
  • 85