Commit 05df48a2 authored by rockyl's avatar rockyl

增加自动识别paths配置

parent 21fd2db3
...@@ -92,8 +92,7 @@ exports.executeBuildProcess = function (cmd) { ...@@ -92,8 +92,7 @@ exports.executeBuildProcess = function (cmd) {
console.log(`Build process [${name}] has not implement ${cmd} function`) console.log(`Build process [${name}] has not implement ${cmd} function`)
} }
} catch (e) { } catch (e) {
reject('Build process is not found, please install with --global'); reject('Build process is not found, please install with --global\n' + 'GLOBAL_NPM_PATH: ' + npm.GLOBAL_NPM_PATH);
reject('GLOBAL_NPM_PATH:', npm.GLOBAL_NPM_PATH);
} }
} }
reject('Build process name is not found, please setup ' + projectFile); reject('Build process name is not found, please setup ' + projectFile);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment