-
Notifications
You must be signed in to change notification settings - Fork 1.2k
You need to update yo to at least 1.7.1 #1938
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It works fine for me |
You're getting this when you do what? And you're kinda supposed to fill in the details in those two tables at the end of your answer. |
@Awk34 Ok, looking at the code it does seem like it should work. Switched stdout for the aforementioned version that should work and tested it out a bit using https://tonicdev.com/npm/semver just to be sure: var semver = require("semver")
var validVersion = semver.satisfies(semver.clean('1.8.3'), '>= 1.7.1')
console.log('Version is valid: ' + validVersion); //outputs "Version is valid: true" So if there's a bug it'd likely be with how the command is executed and what is finally sent as So posting your specs might help a lot @canercak (operating system, npm, node and generator version in particular). |
@yalishizhude I just tried with the same versions (Windows 10 x64):
|
@yalishizhude Does Is there some mysterious difference with picking angular-fullstack in the list of generators when running |
@Koslun I tried with just running |
Install 3.7.5 and post what it shows |
Closed due to inactivity |
I'm getting this error on angular-fullstack version even my yo version is on 1.8.3
events.js:160
throw er; // Unhandled 'error' event
^
Error: ERROR: You need to update yo to at least 1.7.1 (npm i -g yo)
at /Users/apple/.node/lib/node_modules/generator-angular-fullstack/generators/generator-base.js:51:15
at tryCatcher (/Users/apple/.node/lib/node_modules/generator-angular-fullstack/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Users/apple/.node/lib/node_modules/generator-angular-fullstack/node_modules/bluebird/js/release/promise.js:502:31)
at Promise._settlePromise (/Users/apple/.node/lib/node_modules/generator-angular-fullstack/node_modules/bluebird/js/release/promise.js:559:18)
at Promise._settlePromise0 (/Users/apple/.node/lib/node_modules/generator-angular-fullstack/node_modules/bluebird/js/release/promise.js:604:10)
at Promise._settlePromises (/Users/apple/.node/lib/node_modules/generator-angular-fullstack/node_modules/bluebird/js/release/promise.js:683:18)
at Async._drainQueue (/Users/apple/.node/lib/node_modules/generator-angular-fullstack/node_modules/bluebird/js/release/async.js:138:16)
at Async._drainQueues (/Users/apple/.node/lib/node_modules/generator-angular-fullstack/node_modules/bluebird/js/release/async.js:148:10)
at Immediate.Async.drainQueues as _onImmediate
at tryOnImmediate (timers.js:543:15)
at processImmediate as _immediateCallback
You have new mail in /var/mail/apple
canermac-3:posluga2 apple$
The text was updated successfully, but these errors were encountered: