kevinshen56714 / SkyOffice

Immersive virtual office built with Phaser, React, Redux, PeerJS, and Colyseus.
https://sky-office.co/
MIT License
930 stars 289 forks source link

Unable to deploy on Azure App Service #41

Closed swaticolab closed 2 years ago

swaticolab commented 2 years ago

HI,

I am trying to deploy the app on Azure. But when trying to do the same, I get the below error when deploying for the client:

 Invalid start-up command "react-app-rewired start" in package.json. Please use the format "node <script relative path>".\r
 Missing server.js/app.js files, web.config is not generated

Getting the below error for server:

2:47:07 PM : Invalid start-up command "cd server && ts-node-dev --project tsconfig.server.json --respawn --transpile-only index.ts" in package.json. Please use the format "node <script relative path>".
2:47:07 PM : Looking for app.js/server.js under site root.
2:47:07 PM : Missing server.js/app.js files, web.config is not generated

I am new to nodeJS and tyescript. Could you plese help me with corresponding node commands to be added in package.json Any help would be highly appreciated. Thanks!