From 4986a64815375e9abe1f080d3f96a6b290b3d222 Mon Sep 17 00:00:00 2001 From: Glavin Wiechert Date: Sat, 2 Jul 2016 16:26:36 -0300 Subject: [PATCH] Improve incompatible native module error message Close #6771 --- src/package.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/package.coffee b/src/package.coffee index 94e759947..4cb322691 100644 --- a/src/package.coffee +++ b/src/package.coffee @@ -426,8 +426,8 @@ class Package return @mainModule if @mainModuleRequired unless @isCompatible() console.warn """ - Failed to require the main module of '#{@name}' because it requires an incompatible native module. - Run `apm rebuild` in the package directory to resolve. + Failed to require the main module of '#{@name}' because it requires an incompatible native module (#{_.map(@incompatibleModules, 'name').join(', ')}). + Run `apm rebuild` in the package directory and restart Atom to resolve. """ return mainModulePath = @getMainModulePath()