我正在运行此命令
<s:text var="pageTooltip" name="page.nr.tooltip">
<s:param value="#pageNum"/>
</s:text>
<s:submit type="button" title="%{#pageTooltip}"/>
并获得此输出:
ng generate component app/body-top/create-index
我尝试了很多东西来解决问题,但没有运气。
版本细节:
installing component
Cannot read property '0' of undefined
TypeError: Cannot read property '0' of undefined
at Object.getAppFromConfig (/Volumes/disk2/programs/nodejs/easyes/node_modules/@angular/cli/utilities/app-utils.js:6:19)
at Class.normalizeEntityName (/Volumes/disk2/programs/nodejs/easyes/node_modules/@angular/cli/blueprints/component/index.js:106:39)
at Class.Blueprint._normalizeEntityName (/Volumes/disk2/programs/nodejs/easyes/node_modules/@angular/cli/ember-cli/lib/models/blueprint.js:454:24)
at Class.Blueprint.install (/Volumes/disk2/programs/nodejs/easyes/node_modules/@angular/cli/ember-cli/lib/models/blueprint.js:513:8)
at Class.run (/Volumes/disk2/programs/nodejs/easyes/node_modules/@angular/cli/ember-cli/lib/tasks/generate-from-blueprint.js:59:49)
at Class.run (/Volumes/disk2/programs/nodejs/easyes/node_modules/@angular/cli/ember-cli/lib/commands/generate.js:71:17)
at Class.<anonymous> (/Volumes/disk2/programs/nodejs/easyes/node_modules/@angular/cli/ember-cli/lib/models/command.js:134:17)
at process._tickCallback (internal/process/next_tick.js:109:7)