-
Notifications
You must be signed in to change notification settings - Fork 31
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
TypeError: Object [object Object] has no method 'sourceRoot' #6
Comments
I have the same issue |
+1 on this issue! |
Just saw this on another generator (aurelia), only after upgrading yeoman (from 1.1.x to 1.4.5), so I'm guessing Yeoman changed its api recently and broke generators...? cc @addyosmani |
Thanks for the hint, got the generator-aurelia updated. For you guys here this is the new syntax: http://yeoman.io/authoring/file-system.html |
Any idea on how to fix? |
Sadly the only way I see is to rewrite the generator to use the new API. Had to do it for mine as well :) |
@heldr would you be up for this rewrite? |
Currently I'm pretty busy through a company's project. It will take several weeks. I will do my best. For now I am going to create a branch for this rewrite(community PRs will be handy). |
@heldr oh since the generator is so small I thought contributing back a PR with the upgrade. Since you've already updated the package.json yo dependency only the fix for the index.js should be necessary to get it working. Please of course first try it out :) |
I've installed the NPM packages, but when I then try and scaffold out the boilerplate with:
I am returned:
I assume it has something to do with not being able to find the sourceRoot?
The text was updated successfully, but these errors were encountered: