Local dev apps no longer work

답변함

17 댓글

  • Team Leafworks

    Hello Siarhei,

    I have the same problems on multiple instances. Local development doesn't work at all, and all my team's developers can't work on apps. It looks like old zat tools still work, but our workflow heavily depends on zcli tools.

    But, I have only Unknown initialization object: null Expected Object or Function. error in the console, and nothing else.

    1
  • Eric Nelson
    Zendesk Developer Advocacy
    Hey Folks,

    We're digging into this and will provide an update once we've isolated the bug and put out a fix. 

    Thanks for reporting!
    5
  • Alex Finley

    Hello, my team and I are experiencing the same issues. Are there any updates to this problem? 

    -1
  • Martin Blaustein

    Hello, Same issue here.

    1
  • Pat DeVincentis

    Same Issue here, hope to hear back soon!

    0
  • Theo

    We're experiencing the same issue, would be great to get a fix soon

    0
  • Phil Phung

    I too am running into this issue.

    -1
  • Donny Miller

    Same issue as well.

    -1
  • 💾 OTG System

    Having the same problem also. Difficult to deploy any changes at the moment in case it breaks things.  Was a great feature when it was working!

    -1
  • Zach Anthony
    Zendesk Product Manager

    Hi everyone, we appreciate your patience as we've been troubleshooting the issue. We identified the source of the bug and have rolled out a fix. You should now be able to resume testing apps using the local development server with ZCLI.

    Please let us know if you are continuing to experience issues.

    4
  • Team Leafworks

    Hello Zach Anthony,
    I still have the same problem for some locations in manifest.json. Here, what I have in my app, and it doesn't work:


    "location": {
    "support": {
    "nav_bar": {
    "url": "assets/index.html#location=nav_bar",
    "autoHide": true
    },
    "ticket_sidebar": { "autoLoad": false },
    "new_ticket_sidebar": { "autoLoad": false },
    "background": {
    "url": "assets/index.html#location=background"
    }
    }
    }


    I played around, and found two cases when it works:

    "location": {
    "support": {
    "nav_bar": {
    "url": "assets/index.html#location=nav_bar"
    },
    "ticket_sidebar": {
    "url": "assets/index.html#location=nav_bar"
    }
    }
    }

    "location": {
    "support": {
    "nav_bar": {
    "url": "assets/index.html#location=nav_bar",
    "autoHide": true
    },
    "background": {
    "url": "assets/index.html#location=background"
    }
    }
    }

    It looks like apps with location  { "autoLoad": false } break local development.

    Best regards,
    Andriy

    0
  • Team Leafworks

    Hello Zach Anthony,

    Any news on my last comment? I see this topic has Answered label now, and I don't want it to be missed. But unfortunately, the local development is still not working for almost every app for my team, so we are forced to use zat tools. 
    It breaks our development process, which relies on zcli tools, and adds a lot of frustration to work. 

    Best regards,
    Andriy

    0
  • Eric Nelson
    Zendesk Developer Advocacy
    Hey Andriy,

    Mind if we move your issue into a ticket as it seems to be a separate bug from the rest of the thread? 

    Thanks!
    0
  • Sahibdev Mann

    Hi Team,

    I am still facing the issue.

    I am using windows wsl and zendesk sandbox. My version details are as following:

    root@XXXXXXX/zendesk-shell# zcli --version
    @zendesk/zcli/1.0.0-beta.24 wsl-x64 node-v14.17.3

    Error:

     Access to fetch at 'https://xxxxxxxx.zendesk.com/agent/tickets/' from origin 'http://localhost:4567' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

     

    0
  • Eric Nelson
    Zendesk Developer Advocacy

    Hey Sahib, 

    That doesn't look to be related to the local server bug. Are you using secure settings by chance?

    0
  • Roger Larsen

    The same issue is happening again. Exactly what is outlined in the first post of this thread. Please assist. 

     

    Thanks,

    Roger Larsen 

    0
  • Greg Katechis
    Zendesk Developer Advocacy

    Hi Roger! The issue today is separate from what is happening here. Please see this post for more details.

    0

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

Zendesk 제공