Skip to content

Commit c325212

Browse files
committed
Informative error message
1 parent df2b429 commit c325212

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ async function build(opts) {
3232
]),
3333
onwarn: function (message) {
3434
if (message.code === 'UNRESOLVED_IMPORT') {
35-
throw new Error(`Could not resolve module ` + message.source)
35+
throw new Error(`Could not resolve module ` + message.source + `. Try running 'npm install'`)
3636
}
3737
}
3838
})

0 commit comments

Comments
 (0)