Open coxrichuk opened 10 years ago
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?