File tree 3 files changed +7
-6
lines changed
3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 11
11
"@vercel/og" : " latest" ,
12
12
"next" : " latest" ,
13
13
"react" : " 18.2.0" ,
14
- "react-dom" : " 18.2.0"
14
+ "react-dom" : " 18.2.0" ,
15
+ "package-that-does-not-exist" : " ^1.0.0"
15
16
}
16
17
}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export default async function middleware(request) {
10
10
const value = await increment ( input )
11
11
return new Response ( null , { headers : { data : JSON . stringify ( { input, value } ) } } )
12
12
}
13
-
13
+ blah blah - this should not build
14
14
export const config = {
15
15
matcher : '/wasm' ,
16
16
}
Original file line number Diff line number Diff line change @@ -81,8 +81,8 @@ const promises = fixtures.map((fixture) =>
81
81
} )
82
82
}
83
83
if ( output . exitCode !== 0 ) {
84
- const errorMessage = `[${ fixture } ] Failed to install dependencies or build a fixture`
85
- console . error ( errorMessage )
84
+ const errorMessage = `[${ fixture } ] 🚨 Failed to install dependencies or build a fixture`
85
+ console . error ( `\n ${ errorMessage } ` )
86
86
throw new Error ( errorMessage )
87
87
}
88
88
fixtureList . delete ( fixture )
@@ -107,9 +107,9 @@ const failedFixturesErrors = prepareFixturesResults
107
107
. filter ( Boolean )
108
108
109
109
if ( failedFixturesErrors . length > 0 ) {
110
- console . error ( '🚨 Some fixtures failed to prepare:' )
110
+ console . error ( 'Some fixtures failed to prepare:' )
111
111
for ( const error of failedFixturesErrors ) {
112
- console . error ( error )
112
+ console . error ( error . message )
113
113
}
114
114
process . exit ( 1 )
115
115
}
You can’t perform that action at this time.
0 commit comments