Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

CDK gives generic error message for uploading custom control bundles with a different account #136

Open
sharatb opened this issue Jun 25, 2018 · 3 comments

Comments

@sharatb
Copy link

sharatb commented Jun 25, 2018

Steps to Reproduce

  1. Have a mixer custom controls project that you can successfully upload to a channel.
  2. Change the user by selecting your username in the top right and selecting Sign Out
  3. Log in with a different user(I selected one which has editor access to the interactive project I was working with on the previous account)
  4. Select Approve under the permissions after clicking the mixer.com/go link
  5. Select Run on my channel page
  6. Confirm on the Upload controls dialog(leave both schema and control bundle checked)
  7. Receive a Compilation Error message

Error

You get a Compilation Error dialog that instructs you to look at the compilation output.
The compilation output looks identical to when the project succeeds.
There should be a warning specifying why this doesn't work and how to avoid it(and not claim that it's a compilation error).

Editor Details

Version: 1.0.1
Mixer User ID: 49183970

Encrypted Editor State: {"id":"1f8e5ceda48e8128","password":"9EC1KcBpsuWBFzFaxe8OPKhA8ERS/f4sRdYLDog7uTE="}

@hsuchil
Copy link

hsuchil commented Jul 24, 2018

I've been seeing this error as well and haven't found a good way to work around it, @sharatb did you find a workaround for working with the cdk on a multi-dev scenario?

@sharatb
Copy link
Author

sharatb commented Jul 24, 2018

@hsuchil My workaround was to just rename the project whenever I was logged in as a different user. So if the project was normally "projectName", I would edit the package.json file and change it to "projectName2" before uploading. It's been a bit of a pain, but it seems to work.

@CaliCastle
Copy link

@sharatb changing the package name works! thank you for the workaround

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants