최근 검색


최근 검색 없음

Can't deploy or package Zendesk app



2024년 3월 14일에 게시됨

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개

image avatar

Greg Katechis

Zendesk Developer Advocacy

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


Found it and it worked now, thank you!!

0


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물