Can't get the samples to run #1521

Closed
opened 2025-08-09 17:20:27 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @jjwilliams42 on 7/13/2016

I tried getting both the Angular and React MusicStore samples to run, but both keep throwing errors like:

Call to Node module failed with error: To use webpack dev middleware, you must install the 'aspnet-webpack' NPM package.

and

Exception: Call to Node module failed with error: To use prerendering, you must install the 'aspnet-prerendering' NPM package.

Setup:

.NET CLI 1.0.0-preview3-003178
git clone project
dotnet restore
npm install
dotnet run

I've also run the following:
npm install aspnet-webpack
npm install -g aspnet-webpack

npm install aspnet-prerendering
npm install -g aspnet-prerendering

npm install -g webpack (I read here that this may be needed for now)

npm install -g all-the-things :)

I've tried opening in VS 2015 Update 3 and running with IISExpress as well, same result. Am I missing something?

*Originally created by @jjwilliams42 on 7/13/2016* I tried getting both the Angular and React MusicStore samples to run, but both keep throwing errors like: `Call to Node module failed with error: To use webpack dev middleware, you must install the 'aspnet-webpack' NPM package.` and `Exception: Call to Node module failed with error: To use prerendering, you must install the 'aspnet-prerendering' NPM package.` Setup: .NET CLI 1.0.0-preview3-003178 git clone project dotnet restore npm install dotnet run I've also run the following: npm install aspnet-webpack npm install -g aspnet-webpack npm install aspnet-prerendering npm install -g aspnet-prerendering npm install -g webpack (I read [here ](http://blog.stevensanderson.com/2016/05/02/angular2-react-knockout-apps-on-aspnet-core/)that this may be needed for now) npm install -g all-the-things :) I've tried opening in VS 2015 Update 3 and running with IISExpress as well, same result. Am I missing something?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1521
No description provided.