-
Notifications
You must be signed in to change notification settings - Fork 157
bug: unable to execute custom schematic application blueprint #528
Comments
Just a shot in the dark, you seem to be mixing npm and yarn. Are you sure you installed your global schematics and global ng in the same one? Could one of them be an older version or something? |
Nope, I'm not mixing anything, yarn is used only as task runner in local cli project in my bug issue + I've explicitly described the reproduction steps. 👉 I've updated the issue with list of my global packages. |
hey, any news ? |
@choucry13 my 50 cents are there will be no news in terms of fixing this in cli 1.x, just closed issue, cause it will be resolved with cli 6. Also CLI team has hands full with making everyting ready for 6, so that's why no one responded as well, other more important priorities in pipeline 👀✌️ |
oh thank dude :-) |
NOTE: The following information is for version 1.4-1.7 (not 6+) To use a custom schematic for If you'd like to use a different schematic name, you will need to configure that in your global This global value can also be set using...
This needs to be global because at the time that ng new is run there is no config file other than your global config file. Hopefully this answers your question, if so, please close the issue. |
I already know all of that, but what you're saying is I cannot execute application schematic from custom collection by providing it explicitly and I can only do that by setting the collection to global ng config ? That's sound like bug to me. |
I don't disagree; however, this is an issue with the CLI (not devkit) can you please create an issue on that repo with a link to this issue? |
This issue was moved to angular/angular-cli#12131 |
Bug Report or Feature Request (mark with an
x
)Area
Versions
Angular CLI: 1.7.3
Node: 8.10.0
OS: darwin x64
Repro steps
The log given by the failure
Locally installed project schematics works:
And yes my schematics have been generated via @schematic/schematic
https://github.com/Hotell/ng-cli-schematics/blob/master/package.json ✌️
Desired functionality
being able to generate new app via custom schematic
Mention any other details that might be useful
There were issues created before which were closed for unknown reasons :) not cool at all 👀
Related:
The text was updated successfully, but these errors were encountered: