why on running npm start, i get the error 'HOST' is not recognized as internal or external command

rohan_iyer

I just installed NPM on my computer and I am trying to run it on cmd using npm install then npm start.

After running npm start this is what has come:

C:\Users\user2it\Downloads\pdfprocessingfrontend\pdfprocessingfrontend>npm start

> [email protected] start
> HOST=127.0.0.1 react-scripts start

'HOST' is not recognized as an internal or external command,
operable program or batch file.

Can anyone help me?

Rathore

You can try the following -

npm i cross-env

update the npm script to

cross-env HOST=127.0.0.1 react-scripts start

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

'User' is not recognized as an internal or external command,"durring running npm start"

Why is my 'npm start' script resulting in the error: 'run' is not recognized as an internal or external command, operable program or batch file

Why is my 'npm start' script resulting in the error: '.' is not recognized as an internal or external command, operable program or batch file.?

Why do I get: 'rspec' is not recognized as an internal or external command?

HOST is not recognized as an internal or external command

Why does running npm test result in: '.' is not recognized as an internal or external command, operable program or batch file.?

NPM Package Error- 'newman' is not recognized as an internal or external command

Npm scripts always gives an error as "is not recognized as an internal or external command"

Error in running nuxt project: "'nuxt' is not recognized as an internal or external command"

'blastp' is not recognized as an internal or external command error when running blast with python

Error: not recognized as an internal or external command

Why do I have an error "'vue' is not recognized as an internal or external command" in VS code?

npm is not recognized as an internal or external command in windows

Npm script fails - '.' is not recognized as an internal or external command

'npm' is not recognized as internal or external command, in windows 11

'start-storybook' is not recognized as an internal or external command,

Npm start gives me : 'react-scripts' is not recognized as an internal or external command, operable program or batch file.'

Why is "ipconfig" not recognized as an internal or external command?

Error : 'javac' is not recognized as an internal or external command,

General error : '"mysqldump"' is not recognized as an internal or external command

Getting error "babel" is not recognized as an internal or external command,

Getting not recognized as an internal or external command error

Persisting error: express is not recognized as an internal or external command

when i run "npm run dist_win", get a error: "node_modules" Not an internal or external command?

npm command return message -g' is not recognized as an internal or external command

'.' is not recognized as internal or external command?

'$' is not recognized as an internal or external command

"/" is not recognized as an internal or external command

'.' is not recognized as internal or external command