Aurelia with ASP.NET Core 2.0: Unable to find module with ID: resources/index


I created a Visual Studio 2017 ASP.NET Core 2.0 solution by using the SPA Aurelia template. Everything works fine so far but I don't get the configuration (in "boot.ts") to find my "resources/elements" folder (or it's index.ts):

export function configure(aurelia: Aurelia) { aurelia.use .standardConfiguration() .feature(PLATFORM.moduleName('resources')); <blockquote>

"Unable to find module with ID: resources/index at WebpackLoader. (aurelia-loader-webpack.js:187)"


The index.ts:

import { FrameworkConfiguration } from 'aurelia-framework'; export function configure(config: FrameworkConfiguration) { config.globalResources(['./elements/loading-indicator']); }

The solution structure:

<a href="https://i.stack.imgur.com/qLbyj.png" rel="nofollow"><img alt="enter image description here" class="b-lazy" data-src="https://i.stack.imgur.com/qLbyj.png" data-original="https://i.stack.imgur.com/qLbyj.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" /></a>


I had to change




(<a href="https://github.com/aurelia/webpack-plugin/issues/108" rel="nofollow">https://github.com/aurelia/webpack-plugin/issues/108</a>)


import { FrameworkConfiguration } from 'aurelia-framework'; export function configure(config: FrameworkConfiguration) { config.globalResources([ './elements/loading-indicator' ]); }


import { FrameworkConfiguration, PLATFORM } from 'aurelia-framework'; export function configure(config: FrameworkConfiguration) { config.globalResources([ PLATFORM.moduleName('./elements/loading-indicator') ]); }

and also

@noView([ 'nprogress/nprogress.css' ]) export class LoadingIndicator { ... }


@noView([ PLATFORM.moduleName('nprogress/nprogress.css') ]) export class LoadingIndicator { ... }



  • How to automate user interactive command in chef recipe
  • Module parameter permission
  • Grails 3 - How to publish to Artifactory
  • How to intall Tomcat as a daemon on OS X?
  • How to bind comma separated list of values to List
  • Angular2 & SystemJS : Cannot find module while building a moduleLoader
  • Swipe Gesture Recognizer not working for me
  • Always require certain dependencies in RequireJS
  • What is the equivalent of Android permissions in iOS development? [duplicate]
  • Graceful pod termination
  • What does the TypeScript “lib” option really do?
  • Add Windows Feature from C#
  • init_seg and warning C4073 from library code?
  • jersey/tomcat Description The origin server did not find a current representation for the target res
  • php script is parsing content from RTE (tt_news) but internal links are not appearing as speaking ur
  • CERN ROOT exporting data to plain text
  • Is there a way to save the selected text and highlight it again once the page is refreshed?
  • Bash if statement with multiple conditions
  • C# program and C++ DLL compiled for 32-bit system crash on 64-bit system
  • JBoss External Properties Files in Classpath
  • Abort upload large uploads after reading headers
  • Paperclip, set path outside of rails root folder
  • PHPUnit_Framework_TestCase class is not available. Fix… - Makegood , Eclipse
  • java.lang.NoClassDefFoundError: com.parse.Parse$Configuration$Builder on below Lollipop versions
  • What is Eclipse's Declaration View used for?
  • Why HTML5 Canvas with a larger size stretch a drawn line?
  • Why doesn't :active or :focus work on text links in webkit? (safari & chrome)
  • When should I choose bucket sort over other sorting algorithms?
  • Rearranging Cells in UITableView Bug & Saving Changes
  • Unanticipated behavior
  • Proper folder structure for lots of source files
  • Proper way to use connect-multiparty with express.js?
  • Load html files in TinyMce
  • how does django model after text[] in postgresql [duplicate]
  • How can I remove ASP.NET Designer.cs files?
  • python draw pie shapes with colour filled
  • Append folder name and increment by 1 using batch script
  • Is there any way to bind data to data.frame by some index?
  • How can i traverse a binary tree from right to left in java?
  • Conditional In-Line CSS for IE and Others?