I am trying to push my code with code:push to monday.com’s servers.
I made up and running the code with npx @mondaydotcomorg/monday-cli@latest scaffold run ./ quickstart-react. Then I had created a Feature on the app’s dashboard. But somehow it failed with the following error:
✖ There was an error deploying the application.
========== Logs ==========
> monday-react-quickstart-app@0.0.1 start
> npm run stop && concurrently "npm run server" "npm run expose"
> monday-react-quickstart-app@0.0.1 stop
> kill-port 8301 && kill-port 4049 && kill-port 4040
sh: 1: kill-port: not found
kill-port is being executed on remote server since kill-port is installed on my local machine.
Thanks for your quick reply. My app has a board view feature not integration. But this is not the case I guess. On server side there is no kill-port binary. Normally it should not run the package.json file since there is generated js, css and html file.
@apsimos The quickstart-react sample cannot run on monday code by itself because it’s a client only code (single page application). monday code runs server side code, so if you want to run client code, you will need to either:
Package it and upload as zip to our CDN
Add your own server that runs on monday code and serves the static files
We released lately a new capability that you can try and start from, which creates a new fullstack application from a template, and it’s suited for deploying on monday code. You can do it by running:
Building the app and uploading it to monday.com makes the trick. But I have followed the instructions that monday.com promotes. I think there is a UX problem. That is my thought.