File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed 
src/Microsoft.AspNetCore.SpaServices/Content/Node Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,12 @@ module.exports.renderToString = function (callback) {
77        // Developers sometimes have trouble with badly-configured Node installations, where it's unable 
88        // to find node_modules. Or they accidentally fail to deploy node_modules, or even to run 'npm install'. 
99        // Make sure such errors are reported back to the .NET part of the app. 
10-         callback ( 'Prerendering failed because of an error while loading \'aspnet-prerendering\'. Error was: '  +  ex . stack ) ; 
10+         callback ( 
11+             'Prerendering failed because of an error while loading \'aspnet-prerendering\'. Error was: ' 
12+             +  ex . stack 
13+             +  '\nCurrent directory is: ' 
14+             +  process . cwd ( ) 
15+         ) ; 
1116        return ; 
1217    } 
1318
Original file line number Diff line number Diff line change @@ -7,7 +7,12 @@ module.exports.createWebpackDevServer = function (callback) {
77        // Developers sometimes have trouble with badly-configured Node installations, where it's unable 
88        // to find node_modules. Or they accidentally fail to deploy node_modules, or even to run 'npm install'. 
99        // Make sure such errors are reported back to the .NET part of the app. 
10-         callback ( 'Webpack dev middleware failed because of an error while loading \'aspnet-webpack\'. Error was: '  +  ex . stack ) ; 
10+         callback ( 
11+             'Webpack dev middleware failed because of an error while loading \'aspnet-webpack\'. Error was: ' 
12+             +  ex . stack 
13+             +  '\nCurrent directory is: ' 
14+             +  process . cwd ( ) 
15+         ) ; 
1116        return ; 
1217    } 
1318
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments