Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Webpack command fails after running the Aurelia template #436

Description

@pottereric

I am running on a windows machine and I was in an empty folder. I exectued the "yo aspnetcore-spa" command and selected "Aurelia". While yeoman was running I got the following error:

Error: Module 'c:\Projects\fwdevcon\audemo\node_modules\css\index.js' is not a loader (must have normal or pitch function)
at loadLoader (c:\Projects\fwdevcon\audemo\node_modules\loader-runner\lib\loadLoader.js:35:10)
at iteratePitchingLoaders (c:\Projects\fwdevcon\audemo\node_modules\loader-runner\lib\LoaderRunner.js:164:2)
at iteratePitchingLoaders (c:\Projects\fwdevcon\audemo\node_modules\loader-runner\lib\LoaderRunner.js:160:10)
at c:\Projects\fwdevcon\audemo\node_modules\loader-runner\lib\LoaderRunner.js:180:6
at runSyncOrAsync (c:\Projects\fwdevcon\audemo\node_modules\loader-runner\lib\LoaderRunner.js:119:12)
at c:\Projects\fwdevcon\audemo\node_modules\loader-runner\lib\LoaderRunner.js:170:3
at loadLoader (c:\Projects\fwdevcon\audemo\node_modules\loader-runner\lib\loadLoader.js:36:3)
at iteratePitchingLoaders (c:\Projects\fwdevcon\audemo\node_modules\loader-runner\lib\LoaderRunner.js:164:2)
at runLoaders (c:\Projects\fwdevcon\audemo\node_modules\loader-runner\lib\LoaderRunner.js:357:2)
at NormalModule.doBuild (c:\Projects\fwdevcon\audemo\node_modules\webpack\lib\NormalModule.js:131:2)
at NormalModule.build (c:\Projects\fwdevcon\audemo\node_modules\webpack\lib\NormalModule.js:179:15)
at Compilation.buildModule (c:\Projects\fwdevcon\audemo\node_modules\webpack\lib\Compilation.js:127:9)
at c:\Projects\fwdevcon\audemo\node_modules\webpack\lib\Compilation.js:306:10
at c:\Projects\fwdevcon\audemo\node_modules\webpack\lib\NormalModuleFactory.js:74:13
at NormalModuleFactory.applyPluginsAsyncWaterfall (c:\Projects\fwdevcon\audemo\node_modules\webpack\node_modules\tapable\lib\Tapable.js:123:70)
at onDoneResolving (c:\Projects\fwdevcon\audemo\node_modules\webpack\lib\NormalModuleFactory.js:49:11)
at onDoneResolving (c:\Projects\fwdevcon\audemo\node_modules\webpack\lib\NormalModuleFactory.js:165:6)
at c:\Projects\fwdevcon\audemo\node_modules\webpack\lib\NormalModuleFactory.js:161:6
at c:\Projects\fwdevcon\audemo\node_modules\webpack\node_modules\async\dist\async.js:3853:9
at c:\Projects\fwdevcon\audemo\node_modules\webpack\node_modules\async\dist\async.js:484:16
at iteratorCallback (c:\Projects\fwdevcon\audemo\node_modules\webpack\node_modules\async\dist\async.js:1084:13)
at c:\Projects\fwdevcon\audemo\node_modules\webpack\node_modules\async\dist\async.js:988:16
at c:\Projects\fwdevcon\audemo\node_modules\webpack\node_modules\async\dist\async.js:3850:13
at apply (c:\Projects\fwdevcon\audemo\node_modules\webpack\node_modules\async\dist\async.js:41:25)
at c:\Projects\fwdevcon\audemo\node_modules\webpack\node_modules\async\dist\async.js:76:12
at c:\Projects\fwdevcon\audemo\node_modules\webpack\node_modules\async\dist\async.js:484:16
at c:\Projects\fwdevcon\audemo\node_modules\webpack\node_modules\async\dist\async.js:1161:9
at c:\Projects\fwdevcon\audemo\node_modules\webpack\node_modules\async\dist\async.js:484:16
at iteratorCallback (c:\Projects\fwdevcon\audemo\node_modules\webpack\node_modules\async\dist\async.js:1084:13)
at c:\Projects\fwdevcon\audemo\node_modules\webpack\node_modules\async\dist\async.js:988:16
module.js:471

When I attempt to run the project with "dotnet run" I get errors becuase resources are missing from the dist directory.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions