function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shubham KhajjepawarShubham Khajjepawar 

Failed to save customLookup.cmp: Invalid definition for null:customLookUpController: ApexService.getType() return null with currentNamespace: c, namespace: null, name: customLookUpController: Source

Failed to save customLookup.cmp: Invalid definition for null:customLookUpController: ApexService.getType() return null with currentNamespace: c, namespace: null, name: customLookUpController: Source
Best Answer chosen by Shubham Khajjepawar
sfdcBahusfdcBahu
have you created the controller customLookUpController already?

All Answers

sfdcBahusfdcBahu
have you created the controller customLookUpController already?
This was selected as the best answer
Shubham KhajjepawarShubham Khajjepawar
yes
Shubham KhajjepawarShubham Khajjepawar
Sloved using creation of another controller
Troy CenterTroy Center
Thanks @sfdcBahu. I had to split my change set into three pieces. 1) Apex/ApexTests/Fields/Button. 2) Aura Component Bundle (depends on 1). 3) Flow. 

This was helpful in thinking that the class required for the Auro Compent bundle had not been deployed yet, this could not be found when deploying. Troy.  
Marcio_FritschMarcio_Fritsch
I faced same issue and I just realized the file <auraComponent>.design in the aura folder is required. If you are not deploying this file, you will face the issue above.