We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1254626 commit 7ae3829Copy full SHA for 7ae3829
src/generators/generator-base.js
@@ -18,7 +18,8 @@ export function genBase(self) {
18
if(!process.env.CI) {
19
yoCheckPromise = genUtils.runCmd('yo --version').then(stdout => {
20
if(!semver.satisfies(semver.clean(stdout), '>= 1.7.1')) {
21
- throw new Error('ERROR: You need to update yo to at least 1.7.1 (npm i -g yo)');
+ throw new Error(`ERROR: You need to update yo to at least 1.7.1 (npm i -g yo)
22
+'yo --version' output: ${stdout}`);
23
}
24
});
25
} else {
0 commit comments