title: Aurelia - getting TypeError: palModule.initialize is not a function
body: <p>Trying to setup my first Aurelia Hello World project using ASP.NET Core. Can't get past the above error.</p>
  
  <p>3 files, index.html, app.html, app.js:</p>
  
  <p>Index.html:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;meta charset="utf-8" /&gt;
      &lt;title&gt;&lt;/title&gt;
  &lt;/head&gt;
  &lt;body aurelia-app&gt;
      &lt;script src="jspm_packages/system.js"&gt;&lt;/script&gt;
      &lt;script src="config.js"&gt;&lt;/script&gt;
      &lt;script&gt;
          System.import("aurelia-bootstrapper");
      &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>app.html:</p>
  
  <pre><code>&lt;template&gt;
      &lt;div&gt;${message}&lt;/div&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p>app.js:</p>
  
  <pre><code>export class App {
      constructor() {
          this.message = "Hello from Aurelia";
      }
  }
  </code></pre>
  
  <p>The ASP.NET Core StartUp.cs :</p>
  
  <pre><code>    public class Startup
      {
          // This method gets called by the runtime. Use this method to add services to the container.
          // For more information on how to configure your application, visit https://go.microsoft.com/fwlink/?LinkID=398940
          public void ConfigureServices(IServiceCollection services)
          {
          }
  
          // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
          public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
          {
              loggerFactory.AddConsole();
  
              if (env.IsDevelopment())
              {
                  app.UseDeveloperExceptionPage();
              }
  
              app.UseDefaultFiles();
              app.UseStaticFiles();
  
              app.Run(async (context) =&gt;
              {
                  //await context.Response.WriteAsync("Hello World!");
              });
          }
      }
  }
  </code></pre>
  
  <p>Otherwise everything standard. Ran the following to install Aurelia:</p>
  
  <pre><code>jspm install aurelia-framework
  jspm install aurelia-bootstrapper
  </code></pre>
  
  <p>Pretty basic but getting error:
  <a href="https://i.stack.imgur.com/He6Ek.png" rel="nofollow noreferrer">Error:</a></p>