Closed Strate closed 8 years ago
Please update sigh, the latest version pegs the peer dependency version of babel to 5. There is a ticket in the sigh-babel
project for updating.
I'll double check the version pegging is affecting the scaffolder.
@ohjames I have made a fresh install an hour ago
Weird, checkout https://github.com/sighjs/sigh-babel/blob/master/package.json#L32 the version of babel should be pegged below version 6. Maybe it has used an earlier sigh-babel
or something.
Okay so npm install pkg
doesn't respect peerDependency
versions of other dependencies. At least it gives you a warning. I need to make a change... somewhere...
Since yeoman's npmInstall
does not respect peer dependencies (just like npm install
) then... I guess ideally I need a yeoman API that will install all unresolved peer dependencies. Otherwise I'll have to write that myself or hack it, either of which is kinda annoying ;)
With the latest version (released in the last 10 minutes) you just need to npm install babel@5
inside the project after it has been generated for you. Which of course is less than ideal.
Check out this yeoman issue. Basically... there is no way around this issue. I shoulda chosen a better generator. Argh.
Or you can update sigh-babel to babel 6 =) Okay, I am go to manually change dependency of babel
I've updated the docs for now and sigh-cli, ideally need to find a way to handle it automatically, or just update sigh-babel to babel 6.
Seems that it is babel version issue.