File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,16 +72,17 @@ For more information, see https://webpack.js.org/api/cli/.`);
7272 } catch ( err ) {
7373 if ( err . code === "MODULE_NOT_FOUND" ) {
7474 let errorMessage =
75- "\n\u001b[31mwebpack not found, \u001b[33mplease install webpack using\n\t \u001b[32mnpm install --save-dev webpack\n" ;
75+ "\n\u001b[31mwebpack not installed, consider installing it using \n \u001b[32mnpm install --save-dev webpack\n" ;
7676
7777 if ( process . env . npm_execpath !== undefined && process . env . npm_execpath . includes ( "yarn" ) ) {
7878 errorMessage =
79- "\n\u001b[31mwebpack not found, \u001b[33mplease install webpack using\n\t \u001b[32myarn add webpack --dev\n" ;
79+ "\n\u001b[31mwebpack not installed, consider installing it using \n \u001b[32myarn add webpack --dev\n" ;
8080 }
8181
8282 console . error ( errorMessage ) ;
8383 Error . stackTraceLimit = 1 ;
8484 process . exitCode = 1 ;
85+ return ;
8586 }
8687
8788 if ( err . name !== "ValidationError" ) {
@@ -107,7 +108,7 @@ For more information, see https://webpack.js.org/api/cli/.`);
107108 */
108109 const stdout = argv . silent
109110 ? {
110- write : ( ) => { }
111+ write : ( ) => { }
111112 } // eslint-disable-line
112113 : process . stdout ;
113114
You can’t perform that action at this time.
0 commit comments