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

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

Originally created by @MarkPieszak on 6/21/2016

Tried a fresh install from the yeoman generator today, and even after running npm i (the node_modules folder isn't empty, everything is definitely installed) and dotnet restore, when loading up localhost:5000 it shows an internal server error right away. Windows 7 PC. (I have no issues on a separate MAC)

Also, strangely Visual Studio thinks that the dependencies weren't installed:
image

image


When running with F5 through Visual Studio it breaks here, and throws a similar error: Call to Node module failed with error: To use webpack dev middleware, you must install the 'aspnet-webpack' NPM package

image

*Originally created by @MarkPieszak on 6/21/2016* Tried a fresh install from the yeoman generator today, and even after running `npm i` (the node_modules folder isn't empty, everything is definitely installed) and `dotnet restore`, when loading up `localhost:5000` it shows an internal server error right away. Windows 7 PC. (I have no issues on a separate MAC) Also, strangely Visual Studio thinks that the dependencies weren't installed: ![image](https://cloud.githubusercontent.com/assets/2574412/16243292/8ab8425a-37c4-11e6-9f4f-c202731aa5a7.png) ![image](https://cloud.githubusercontent.com/assets/2574412/16243314/a5ab1bc8-37c4-11e6-8f5e-cb03de612d22.png) --- When running with F5 through Visual Studio it breaks here, and throws a similar error: _Call to Node module failed with error: To use webpack dev middleware, you must install the 'aspnet-webpack' NPM package_ ![image](https://cloud.githubusercontent.com/assets/2574412/16245132/6c5d2b8c-37cd-11e6-9477-33fd761edd61.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1552
No description provided.