Hi, I am using Cumulocity Trial version. I was studying c8y/cli and I just want to know if it’s possible to deploy a react application using c8y cli. I already tried to create an app with cumulocity cli and deployed on cumulocity with the cli commands, now i am curious to know if the same is possible with a react application. For this, I installed cumulocity cli and I changed the build and deploy commands in package.json file of react app as similar to the app that I created by using cumulocity cli, but i am not able to build or deploy using the cli so is there any other way to do it or any solution for this or is this even possible.
Conclusion: I just want to know if its possible to deploy a react app using cumulocity cli.
I was trying to deploy a react app with the cli but I was facing one issue which I am not able to figure out, hoping you could me with this. When I am deploying my app with the cumulocity.json file the app is not able to load its resources but when I am deploying it without cumulocity.json it is working fine.
I tried keeping the same name of the homepage path and the cumulocity.json context path but the issue still persists. Tried keeping the version and name of package.json and cumulocity.json the same but still no change.
Hope you could help me figure out the issue.
So I have figured out that whenever we get this error on the console, it is always a path issue. So it is not able to find the resources from the path provided. What do you think could be the potential issue here? Is it getting confused between the paths provided on the homepage variable and cumulocity.json file?