You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
An unhandled exception occurred while processing the request.
Exception: Call to Node module failed with error: Error: Cannot find module 'C:\code\github\JavaScriptServices\samples\angular\MusicStore\wwwroot\ng-app\boot-server'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at findBootModule (C:\code\github\JavaScriptServices\samples\angular\MusicStore\node_modules\aspnet-prerendering\Prerendering.js:71:24)
at findBootFunc (C:\code\github\JavaScriptServices\samples\angular\MusicStore\node_modules\aspnet-prerendering\Prerendering.js:76:5)
at renderToString (C:\code\github\JavaScriptServices\samples\angular\MusicStore\node_modules\aspnet-prerendering\Prerendering.js:9:5)
at module.exports.renderToString (C:\Users\dave_\AppData\Local\Temp\tmpF280.tmp:11:46)
at C:\Users\dave_\AppData\Local\Temp\tmpF290.tmp:110:19
at IncomingMessage.<anonymous> (C:\Users\dave_\AppData\Local\Temp\tmpF290.tmp:130:35)
MoveNext in HttpNodeInstance.cs, line 71
Sorry, there's a setup step missing from the docs. This one particular sample is a bit old-fashioned and still relies on you running gulp to build it (rather than using Webpack dev middleware as in all the other samples).
So make sure you have Gulp installed globally (via npm install -g gulp) then run gulp from the root directory of the MusicStore sample. Then run dotnet run.
Activity
SteveSandersonMS commentedon Sep 1, 2016
Sorry, there's a setup step missing from the docs. This one particular sample is a bit old-fashioned and still relies on you running
gulpto build it (rather than using Webpack dev middleware as in all the other samples).So make sure you have Gulp installed globally (via
npm install -g gulp) then rungulpfrom the root directory of the MusicStore sample. Then rundotnet run.I've updated the docs to reflect this!