Trying to start react app - | Community
Skip to main content

Trying to start react app -

  • July 14, 2023
  • 1 reply
  • 0 views

Aaron19

Hi 

I have just created a new using

  • zcli apps:new --scaffold=react
  • cd C:\Zendesk\epicor
  • zcli apps:server

But I keep getting

PS C:\Zendesk\epicor> zcli apps:server 
 »   Error: Invalid app path: C:\Zendesk\epicor

What am I missing? I have not changed any of the files in the created directory..

1 reply

Sal
  • July 14, 2023

You need to build the app first using ‘npm run build’

That will build it in the dist folder

Then you can npm run start

Then you can zcli:apps:server