Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout authored and magne4000 committed Nov 27, 2024
1 parent 577e254 commit 5c6f6d9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/vike-node/src/plugin/plugins/serverEntryPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ export function serverEntryPlugin(): Plugin {
assert((err as Record<string, unknown>).code === 'MODULE_NOT_FOUND')
assertUsage(
false,
`No file found at ${entryFilePath}. Does the value ${pc.cyan(`'${entryFilePath}'`)} of ${pc.cyan(
`server.entry.${name}.path`
)} point to an existing file?`
`No file found at ${entryFilePath}. Make sure ${pc.cyan(`server.entry.${name}`)} points to an existing file.`
)
}
}
Expand Down

0 comments on commit 5c6f6d9

Please sign in to comment.