no matter what I name the project I can not get past step one it says any name i put in is already taken?
Check the dev console
And see if it was made anyway and it just errored in the rig
You can them import the project/extension to the rig instead
1 Like
Just here to say I had this issue too, and it was created anyway. Something’s wrong with the Rig (either locally or globally).
opened 02:33PM - 07 Jan 22 UTC
closed 11:09PM - 15 Feb 23 UTC
product: developer rig
**Brief description**
Cannot create a new Project in the rig, it errors but c… reates it on the console anyway
Regardless of the name or the name actually being taken of not
> *Sorry, this name is taken. Please try another name. Note: Twitch broadcasters installing your Extension see the name specified in the released version. This is only for API authorization use.
The rig reports that the name is taken and will create the Extension anyway. (or it actuallt errors as the user tries again with the same name)
**How to reproduce**
1. Add Project
2. Create Project
3. Select "New Extension" in the drop down
3. Enter a unique name
4. Select one or more types
5. Next
6. Recieve an error, saying the name is taken
7. Check https://dev.twitch.tv/console/extensions and find that it was created anyway
**Expected behavior**
It doesn't error.
**Additional context or questions**
Likely related to the new CSP fields that the rig can't handle properly
> main.c2a24fe7.chunk.js:1 Error: Variable "connectDomains" has invalid value null.
Expected type "[String!]!", found null.: {"response":{"errors":[{"message":"Variable \"connectDomains\" has invalid value null.\nExpected type \"[String!]!\", found null.","locations":[{"line":17874,"column":3}]},{"message":"Variable \"imageDomains\" has invalid value null.\nExpected type \"[String!]!\", found null.","locations":[{"line":17877,"column":3}]},{"message":"Variable \"mediaDomains\" has invalid value null.\nExpected type \"[String!]!\", found null.","locations":[{"line":17880,"column":3}]}],"extensions": REMOVED
It’s likely due to the new CSP fields in the response and the rig hasn’t been updated
So the advice is to create your Extension on the dev console, then import it into the rig
1 Like
It did create it in the console like you said, and I had to set the version/extension type there. But…it did not create a manifest file, so I cannot import it into the Rig. Is there another way to create the manifest file?
When you import it to the rig the rig will generate the manifest from the console project settings
It should right? By import, you mean “Add Project” → “Create Project” right? Here’s my problem:
I was able to create the extension (it shows up in Developer Console), but when I try to create a project for it in the Dev Rig, I can get to step 3 where is seems like it worked, and I click “Get Started”, and it does nothing. If I let it sit for a few minutes the window displays this message: “An error occurred. Please check the Developer Tools console.”
The Developer Tools Console shows this error:
Error: npm failed with exit code 1: npm ERR! code ETIMEDOUT
npm ERR! syscall connect
npm ER…
to quote myself
the extension you are trying to import has at least one version?
Yes, I had to go into the Developer Console and create the version, after getting the “Sorry this name is taken” error in the Dev Rig. Now I’m trying to create the project in the Dev Rig, selecting the extension from the dropdown list.
After creating the version in the console.
Mine imports into the rig as expected.
If it try to import on my Mac, I get a different error after clicking “Get Started”:
npm failed with exit code1:
npm WARN tarball tarball data for vm-browserify@https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz (sha512-XXXXXX…) seems to be corrupted.
I guess it’s a local issue.