Skip to content

Commit

Permalink
fix(gatsby-cli): Improve wording for 98124 error message (#24186)
Browse files Browse the repository at this point in the history
  • Loading branch information
LekoArts committed May 18, 2020
1 parent 96aefa5 commit 0d68336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-cli/src/structured-errors/error-map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const errors = {
},
"98124": {
text: (context): string =>
`${context.stageLabel} failed\n\n${context.sourceMessage}\n\nPerhaps you need to install the package '${context.packageName}'?`,
`${context.stageLabel} failed\n\n${context.sourceMessage}\n\nIf you're trying to use a package make sure that '${context.packageName}' is installed. If you're trying to use a local file make sure that the path is correct.`,
type: Type.WEBPACK,
level: Level.ERROR,
},
Expand Down

0 comments on commit 0d68336

Please sign in to comment.