Local web server output


#1

hi, what this means?

Local web server output

> exported-from-react-studio@0.0.1 start /Users/paololops/Documents/React Studio/Works In Progress/General Soft S.r.l. - Gs
> PORT=3000 react-scripts start

sh: react-scripts: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! exported-from-react-studio@0.0.1 start: PORT=3000 react-scripts start
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the exported-from-react-studio@0.0.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/paololops/.npm/_logs/2019-07-12T09_04_21_413Z-debug.log


#2

Hi Paolo,

it possibly fails to copy export template project properly. Does that happen with every project? You could try deleting contents of ~/Library/Application Support/React Studio/Template Cache/ folder (export template project is located there) and restarting React Studio.


#3

Hi Juha, no this does not solve my problem… i must compile two time to have server working


#4

hi, also on new MacBook Pro installation…

> exported-from-react-studio@0.0.1 start /Users/paololops/Documents/React Studio/Works In Progress/General Soft S.r.l. - Gs
> PORT=3000 react-scripts start

Could not find a required file.
Name: index.html
Searched in: /Users/paololops/Documents/React Studio/Works In Progress/General Soft S.r.l. - Gs/public
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! exported-from-react-studio@0.0.1 start: PORT=3000 react-scripts start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the exported-from-react-studio@0.0.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/paololops/.npm/_logs/2019-07-25T13_05_29_674Z-debug.log


#5

Does that happen with every project or just some certain one? Could you try with an empty project for example?