Recent searches
No recent searches
Can't deploy or package Zendesk app
Posted Mar 14, 2024
Hello
I'm trying to create a new Zendesk app using the React scaffold. I followed the steps in this guide:
https://developer.zendesk.com/documentation/apps/getting-started/using-zcli
Without making any changes to the app code, I try to upload the app to my account with the create command and get the following error
> zcli apps:create src
Uploading app... Uploaded
Deploying app... Failed
› Error: assets/iframe.html is either an invalid location URI, refers to a missing asset, or does not use HTTPS.
The same thing happens if I tro to package it to upload manually:
> zcli apps:package src
› Error: Error: assets/iframe.html is either an invalid location URI, refers to a missing asset, or does not use HTTPS.
I'm using environment variables to authenticate with my account.
0
2
2 comments
Greg Katechis
Hi Oriol! If you look at the README in the React folder you're in, you'll see that you need to use webpack to build the dist folder and then use that as the destination for the creation. Let us know if you run into any other issues!
1
Oriol Pericas
Found it and it worked now, thank you!!
0