You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ng new testApp --routing
ng generate universal testAppUniversal
npm install
ng generate app-shell --universal-app test-app-universal
Observed behavior
Cannot read property 'split' of undefined
Desired behavior
Create app-shell infrastructure
Mention any other details that might be useful (optional)
The problem is - according to its schematics, ng generate app-shell expects the name of app-shell, which is unneeded. So if you run this like ng generate app-shell myShell it works fine, and this myShell never used/mentioned in the resulting code. This could be a temporary workaround.
Activity
fix(@angular/cli): Allow schematics without a name option.
fix(@angular/cli): Allow schematics without a name option.
fix(@angular/cli): Allow schematics without a name option.
fix(@angular/cli): Allow schematics without a name option.
fix(@angular/cli): Allow schematics without a name option.
angular-automatic-lock-bot commentedon Sep 7, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
fix(@angular/cli): Allow schematics without a name option.