1

On creating a react application using create-react-app,I am getting error :

C:\Users\NidaZehra\Desktop\React>create-react-app demo1

Creating a new React app in C:\Users\NidaZehra\Desktop\React\demo1.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...

npm ERR! Maximum call stack size exceeded

Please help me out !!

Salman Zafar
  • 3,844
  • 5
  • 20
  • 43
nida zehra
  • 11
  • 1

1 Answers1

0

You can try to to increase the call stack size by append --max_old_space_size=4096 to the command.

create-react-app demo1 --max_old_space_size=4096

Still it's not a very common issue, what operationg system and amount of RAM do you have?

Panos Bechlivanos
  • 1,326
  • 1
  • 8
  • 6