Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error No org config found for name 'alias' #157

Open
ghost1996110 opened this issue May 17, 2019 · 4 comments
Open

Getting error No org config found for name 'alias' #157

ghost1996110 opened this issue May 17, 2019 · 4 comments

Comments

@ghost1996110
Copy link

while running comand sdfx falcon:adk:install i get an error on second step

No org config found for name ""
does any one have any idea

@VivekMChawla
Copy link
Contributor

@ghost1996110 - Can you paste your Recipe file? The recipe file should be in your project's config folder. It should have the same name as the defaultRecipe key inside sfdx-project.json.

@ghost1996110
Copy link
Author

{
"recipeName": "ADK Sample Demo Recipe",
"description": "Sample Recipe for Building an ADK Demo",
"recipeType": "appx:demo-recipe",
"recipeVersion": "1.0.0",
"schemaVersion": "0.1.2",
"options": {
"haltOnError": true,
"noCustomInstall": true,
"skipGroups": [],
"skipActions": [],
"targetOrgs": [
{
"orgName": "Scratch Org Demo",
"alias": "univ-ctrs_scratch-demo",
"description": "Installs demo in a Scratch Org",
"isScratchOrg": true,
"scratchDefJson": "demo-scratch-def.json"
}
]
},
"recipeStepGroups": [
{
"stepGroupName": "Install Packages",
"alias": "install-packages",
"description": "Installs all managed and unmanged packages required by the demo",
"recipeSteps": [
{
"stepName": "Install Falcon-X Managed Package",
"description": "Installs version 1.2 (Beta 10) of the Falcon-X package",
"action": "install-package",
"options": {
"packageName": "Falcon-X, Version 1.2 (Beta 10)",
"packageVersionId": "04t1N000001bW4g"
}
},
{
"stepName": "Install VMC Base Package",
"description": "Installs version 1.37 (Beta 1) of the VMC Base Package",
"action": "install-package",
"options": {
"packageName": "VMC Base Package, Version 1.37 (Beta 1)",
"packageVersionId": "04t360000011vqy"
}
}
]
},
{
"stepGroupName": "Deploy Metadata",
"alias": "deploy-metadata",
"description": "Deploys code from the mdapi-source directory",
"recipeSteps": [
{
"stepName": "Deploy App Config",
"description": "Deploys metadata found in mdapi-source/app-config",
"action": "deploy-metadata",
"options": {
"mdapiSource": "app-config"
}
},
{
"stepName": "Deploy Data Config",
"description": "Deploys metadata found in mdapi-source/data-config",
"action": "deploy-metadata",
"options": {
"mdapiSource": "data-config"
}
},
{
"stepName": "Deploy Org Config",
"description": "Deploys metadata found in mdapi-source/org-config",
"action": "deploy-metadata",
"options": {
"mdapiSource": "org-config"
}
}
]
},
{
"stepGroupName": "Create and Configure Users",
"alias": "create-users",
"description": "Configure the Admin User and create primary and secondary demo users",
"recipeSteps": [
{
"stepName": "Configure Admin User",
"description": "Configures the Admin User based on demo-user-admin.json",
"action": "configure-admin-user",
"options": {
"definitionFile": "demo-user-admin.json"
}
},
{
"stepName": "Create Primary Demo User",
"description": "Creates a demo user based on demo-user-primary.json",
"action": "create-user",
"options": {
"definitionFile": "demo-user-primary.json",
"sfdxUserAlias": "univ-ctrs_primary-demo-user"
}
},
{
"stepName": "Create Secondary Demo User",
"description": "Creates a demo user based on demo-user-secondary.json",
"action": "create-user",
"options": {
"definitionFile": "demo-user-secondary.json",
"sfdxUserAlias": "univ-ctrs_secondary-demo-user"
}
}
]
},
{
"stepGroupName": "Import/Create Data",
"alias": "import-data",
"description": "Imports or creates data in the demo org",
"recipeSteps": [
{
"stepName": "Import Custom Settings",
"description": "Imports custom settings data",
"action": "import-data-tree",
"options": {
"plan": "custom-settings/data-plan.json"
}
},
{
"stepName": "Import Sample Data",
"description": "Imports sample account and DriveWealth data",
"action": "import-data-tree",
"options": {
"plan": "sample-customers/data-plan.json"
}
}
]
}
],
"handlers": [
{},
{}
]
}

@ghost1996110
Copy link
Author

sdfx project.json

{
"packageDirectories" : [
{"path": "sfdx-source/force-app", "default": true}
],
"sfdcLoginUrl": "https://login.salesforce.com",
"sourceApiVersion": "45.0",
"plugins": {
"sfdxFalcon": {
"developerAlias" : "univ-ctrs",
"developerName" : "Universal Containers",
"projectAlias" : "uc-demo-app",
"projectName" : "Universal Containers Demo App",
"projectFamily" : "ADK",
"projectType" : "single-demo",
"defaultRecipe" : "demo-recipe.json",
"gitRemoteUri" : "https://github.com/my-org/my-repo.git",
"gitHubUrl" : "https://github.com/my-org/my-repo",
"projectVersion" : "0.0.1",
"schemaVersion" : "0.0.1",
"pluginVersion" : "0.0.93",
"appxPackage" : {},
"appxDemo": {
"demoRecipes" : ["demo-recipe.json"]
}
}
}
}

@VivekMChawla
Copy link
Contributor

@ghost1996110 - Thanks for sharing your Recipe and sfdx-project.json files.

What exactly is the second step you're referring to? Is it "Install Packages" or "Create New Scratch Org"?

Could you share a screenshot of what you're seeing? Thanks!

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

No branches or pull requests

2 participants