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!
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:
Getting the below error for server:
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!