Open pdipietro opened 3 years ago
that is the result of using winbuntu.. you must import all the files using the unprivilegied account.. that means your nodejs assets files must be available to the non root user and also the project itselft..
then the script must change to the unpriivilegied user and run the application.. puff
Hi, I tried to use your app, without success. It should be a matter of configuration I cannot get rid of.
I have a react application whose structure is as follow:
The index.js file is as follow:
The package.json is as follow:
Usually, I start the application with
npm start
and it runs fine.I config your app as follow:
I need to start with sudo, otherwise it doesn't run. This is the result:
The application doesn't respond on port 3000, and
the log reports:
And this sound strange to me, because the app runs nicely when started manually.
Any suggestion, please?
Thank you