IMPORTANT!
This forum is now archived. Click here for the New Support Forum
Compilation Error
Quote from ceosjleong on January 30, 2018, 3:28 pmHi Sir,
I just bought your system. After downloded it, and compile, i got the error message as below. Can you advise. TQ
Severity Code Description Project File Line Suppression State
Error MSB3073 The command "node node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js" exited with code 1. QuickApp.Pro D:\QuickApp-PRO\QuickApp.Pro\QuickApp.Pro\QuickApp.Pro.csproj 52
System.AggregateException occurred
HResult=0x80131500
Message=One or more errors occurred. (Cannot find module './wwwroot/dist/vendor-manifest.json'
Error: Cannot find module './wwwroot/dist/vendor-manifest.json'
at Function.Module._resolveFilename (module.js:538:15)
at Function.Module._load (module.js:468:25)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at module.exports (D:\QuickApp-PRO\QuickApp.Pro\QuickApp.Pro\webpack.config.js:60:27)
at createWebpackDevServer (D:\QuickApp-PRO\QuickApp.Pro\QuickApp.Pro\node_modules\aspnet-webpack\WebpackDevMiddleware.js:194:31)
at createWebpackDevServer (C:\Users\SengJoon\AppData\Local\Temp\xs0b53cu.ee1:74:50)
at C:\Users\SengJoon\AppData\Local\Temp\5pvl3ftp.ny4:114:19
at IncomingMessage.<anonymous> (C:\Users\SengJoon\AppData\Local\Temp\5pvl3ftp.ny4:133:38)
at emitNone (events.js:106:13))
Source=<Cannot evaluate the exception source>
StackTrace:
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at Microsoft.AspNetCore.Builder.WebpackDevMiddleware.UseWebpackDevMiddleware(IApplicationBuilder appBuilder, WebpackDevMiddlewareOptions options)
at QuickApp.Pro.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) in D:\QuickApp-PRO\QuickApp.Pro\QuickApp.Pro\Startup.cs:line 212Inner Exception 1:
NodeInvocationException: Cannot find module './wwwroot/dist/vendor-manifest.json'
Error: Cannot find module './wwwroot/dist/vendor-manifest.json'
at Function.Module._resolveFilename (module.js:538:15)
at Function.Module._load (module.js:468:25)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at module.exports (D:\QuickApp-PRO\QuickApp.Pro\QuickApp.Pro\webpack.config.js:60:27)
at createWebpackDevServer (D:\QuickApp-PRO\QuickApp.Pro\QuickApp.Pro\node_modules\aspnet-webpack\WebpackDevMiddleware.js:194:31)
at createWebpackDevServer (C:\Users\SengJoon\AppData\Local\Temp\xs0b53cu.ee1:74:50)
at C:\Users\SengJoon\AppData\Local\Temp\5pvl3ftp.ny4:114:19
at IncomingMessage.<anonymous> (C:\Users\SengJoon\AppData\Local\Temp\5pvl3ftp.ny4:133:38)
at emitNone (events.js:106:13)
Hi Sir,
I just bought your system. After downloded it, and compile, i got the error message as below. Can you advise. TQ
Severity Code Description Project File Line Suppression State
Error MSB3073 The command "node node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js" exited with code 1. QuickApp.Pro D:\QuickApp-PRO\QuickApp.Pro\QuickApp.Pro\QuickApp.Pro.csproj 52
System.AggregateException occurred
HResult=0x80131500
Message=One or more errors occurred. (Cannot find module './wwwroot/dist/vendor-manifest.json'
Error: Cannot find module './wwwroot/dist/vendor-manifest.json'
at Function.Module._resolveFilename (module.js:538:15)
at Function.Module._load (module.js:468:25)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at module.exports (D:\QuickApp-PRO\QuickApp.Pro\QuickApp.Pro\webpack.config.js:60:27)
at createWebpackDevServer (D:\QuickApp-PRO\QuickApp.Pro\QuickApp.Pro\node_modules\aspnet-webpack\WebpackDevMiddleware.js:194:31)
at createWebpackDevServer (C:\Users\SengJoon\AppData\Local\Temp\xs0b53cu.ee1:74:50)
at C:\Users\SengJoon\AppData\Local\Temp\5pvl3ftp.ny4:114:19
at IncomingMessage.<anonymous> (C:\Users\SengJoon\AppData\Local\Temp\5pvl3ftp.ny4:133:38)
at emitNone (events.js:106:13))
Source=<Cannot evaluate the exception source>
StackTrace:
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at Microsoft.AspNetCore.Builder.WebpackDevMiddleware.UseWebpackDevMiddleware(IApplicationBuilder appBuilder, WebpackDevMiddlewareOptions options)
at QuickApp.Pro.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) in D:\QuickApp-PRO\QuickApp.Pro\QuickApp.Pro\Startup.cs:line 212
Inner Exception 1:
NodeInvocationException: Cannot find module './wwwroot/dist/vendor-manifest.json'
Error: Cannot find module './wwwroot/dist/vendor-manifest.json'
at Function.Module._resolveFilename (module.js:538:15)
at Function.Module._load (module.js:468:25)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at module.exports (D:\QuickApp-PRO\QuickApp.Pro\QuickApp.Pro\webpack.config.js:60:27)
at createWebpackDevServer (D:\QuickApp-PRO\QuickApp.Pro\QuickApp.Pro\node_modules\aspnet-webpack\WebpackDevMiddleware.js:194:31)
at createWebpackDevServer (C:\Users\SengJoon\AppData\Local\Temp\xs0b53cu.ee1:74:50)
at C:\Users\SengJoon\AppData\Local\Temp\5pvl3ftp.ny4:114:19
at IncomingMessage.<anonymous> (C:\Users\SengJoon\AppData\Local\Temp\5pvl3ftp.ny4:133:38)
at emitNone (events.js:106:13)
Quote from Eben Monney on February 1, 2018, 5:36 pmThe compilation process failed at some point. The file "vendor-manifest.json" only exists after a successful build.
Let do the below steps to reset the envioronment for a rebuild.
- Delete the "/wwwroot/dist/" folder: This will force the vendor packages to recompile
- Optionally delete the "node_modules" folder. This is necessary if any of the packages didn't download correctly the first time
- If you deleted the "node_modules" folder, run "npm install" for a re download of the client modules rather than having the IDE automatically download them
- Optionally restart your IDE/VisualStudio: This is a check to ensure no incorrect resources are cached and all file locks are released
- Do a clean/rebuild and lets see if that helps
The compilation process failed at some point. The file "vendor-manifest.json" only exists after a successful build.
Let do the below steps to reset the envioronment for a rebuild.
- Delete the "/wwwroot/dist/" folder: This will force the vendor packages to recompile
- Optionally delete the "node_modules" folder. This is necessary if any of the packages didn't download correctly the first time
- If you deleted the "node_modules" folder, run "npm install" for a re download of the client modules rather than having the IDE automatically download them
- Optionally restart your IDE/VisualStudio: This is a check to ensure no incorrect resources are cached and all file locks are released
- Do a clean/rebuild and lets see if that helps
IMPORTANT!
This forum is now archived. Click here for the New Support Forum