title: SPFX App Customizer error "Extension failed to load for componentId"
body: <p>I am having errors when I deploy this in my tenant site but when i run it in debug mode via <code>gulp serve</code> the app is rendering.</p>
  <p>this is the error:</p>
  <pre><code> Uncaught (in promise) Error
      at t [as constructor]
  
  Uncaught (in promise) Error: Failed to create application customizer 'ClientSideExtension.ApplicationCustomizer.75e06db2-212d-41f4-ad01-758e014c7b40'. Error information is 'Extension failed to load for componentId &quot;75e06db2-212d-41f4-ad01-758e014c7b40&quot;.'.
  </code></pre>
  <p>i installed all the needed dependency and it briefly worked but when i removed the bottom placeholder customization, deployed then it didn't render anymore. <strong>I'd also like to note that when it briefly worked, it only rendered in the site contents, documents, settings it didn't render in the site pages such as my homepage and other pages i created.</strong></p>
  <p>I have followed the docs in building the customizer:</p>
  <pre><code> private _renderPlaceHolders(): void {
      console.log(&quot;HelloWorldApplicationCustomizer._renderPlaceHolders()&quot;);
      console.log(
        &quot;Available placeholders: &quot;,
        this.context.placeholderProvider.placeholderNames
          .map(name =&gt; PlaceholderName[name])
          .join(&quot;, &quot;)
      );
    
      // Handling the top placeholder
      if (!this._topPlaceholder) {
        console.log(&quot;no placeholder found&quot;);
        this._topPlaceholder = this.context.placeholderProvider.tryCreateContent(
          PlaceholderName.Top,
          { onDispose: this._onDispose }
        );
    
        // The extension should not assume that the expected placeholder is available.
        if (!this._topPlaceholder) {
          console.error(&quot;The expected placeholder (Top) was not found.&quot;);
          return;
        }
       //MORE CODE BELOW
  
     }
  }
  </code></pre>
  <p>my package.json</p>
  <pre><code>{
    &quot;name&quot;: &quot;searchbar-ext&quot;,
    &quot;version&quot;: &quot;0.0.1&quot;,
    &quot;private&quot;: true,
    &quot;main&quot;: &quot;lib/index.js&quot;,
    &quot;scripts&quot;: {
      &quot;build&quot;: &quot;gulp bundle&quot;,
      &quot;clean&quot;: &quot;gulp clean&quot;,
      &quot;test&quot;: &quot;gulp test&quot;
    },
    &quot;dependencies&quot;: {
      &quot;@microsoft/decorators&quot;: &quot;1.11.0&quot;,
      &quot;@microsoft/sp-application-base&quot;: &quot;1.11.0&quot;,
      &quot;@microsoft/sp-core-library&quot;: &quot;1.11.0&quot;,
      &quot;@microsoft/sp-dialog&quot;: &quot;1.11.0&quot;,
      &quot;@microsoft/sp-http&quot;: &quot;1.11.0&quot;,
      &quot;@microsoft/sp-office-ui-fabric-core&quot;: &quot;1.11.0&quot;,
      &quot;@pnp/common&quot;: &quot;^2.5.0&quot;,
      &quot;@pnp/graph&quot;: &quot;^2.5.0&quot;,
      &quot;@pnp/logging&quot;: &quot;^2.5.0&quot;,
      &quot;@pnp/odata&quot;: &quot;^2.5.0&quot;,
      &quot;@pnp/pnpjs&quot;: &quot;^2.0.13&quot;,
      &quot;@pnp/sp&quot;: &quot;^2.5.0&quot;,
      &quot;@types/rijndael-js&quot;: &quot;^1.0.0&quot;,
      &quot;crypto-js&quot;: &quot;^4.0.0&quot;,
      &quot;dayjs&quot;: &quot;^1.10.5&quot;,
      &quot;dotenv&quot;: &quot;^10.0.0&quot;,
      &quot;dotenv-expand&quot;: &quot;^5.1.0&quot;,
      &quot;gulp-cli&quot;: &quot;^2.3.0&quot;,
      &quot;js-cookie&quot;: &quot;^2.2.1&quot;,
      &quot;ncrypt-js&quot;: &quot;^2.0.0&quot;,
      &quot;react-cookie&quot;: &quot;^4.0.3&quot;,
      &quot;rijndael-js&quot;: &quot;^2.0.0&quot;
    },
    &quot;devDependencies&quot;: {
      &quot;@microsoft/rush-stack-compiler-3.3&quot;: &quot;0.3.5&quot;,
      &quot;@microsoft/sp-build-web&quot;: &quot;1.11.0&quot;,
      &quot;@microsoft/sp-module-interfaces&quot;: &quot;1.11.0&quot;,
      &quot;@microsoft/sp-tslint-rules&quot;: &quot;1.11.0&quot;,
      &quot;@microsoft/sp-webpart-workbench&quot;: &quot;1.11.0&quot;,
      &quot;@types/js-cookie&quot;: &quot;^2.2.6&quot;,
      &quot;@types/react-cookies&quot;: &quot;^0.1.0&quot;,
      &quot;@types/webpack-env&quot;: &quot;1.13.1&quot;,
      &quot;ajv&quot;: &quot;~5.2.2&quot;,
      &quot;gulp&quot;: &quot;3.9.1&quot;,
      &quot;gulp-sequence&quot;: &quot;1.0.0&quot;,
      &quot;sass-loader&quot;: &quot;^8.0.2&quot;,
      &quot;spfx-uifabric-themes&quot;: &quot;^0.8.0&quot;,
      &quot;ts-loader&quot;: &quot;^6.2.1&quot;
    }
  }
  </code></pre>