Skip to content

Commit

Permalink
Informative error message
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammedsahl committed Jun 22, 2020
1 parent df2b429 commit c325212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/build.js
Expand Up @@ -32,7 +32,7 @@ async function build(opts) {
]),
onwarn: function (message) {
if (message.code === 'UNRESOLVED_IMPORT') {
throw new Error(`Could not resolve module ` + message.source)
throw new Error(`Could not resolve module ` + message.source + `. Try running 'npm install'`)
}
}
})
Expand Down

0 comments on commit c325212

Please sign in to comment.