This is a rather large project -- not sure how I would share all the files? For this particular component, what I did was grab the latest Ultima (although the same problem happens with the latest Poseidon as well), copied the exact contents of app.menu.component.ts (HTML is a template) into a file called gui-mgr.component.ts, and renamed AppMenuComponent to GuiMgrComponent. I'm getting no errors when I do "ng build", but get an output, in the browser, of:
Code: Select all
Can't bind to 'item' since it isn't a known property of 'ul'. ("
<ul app-submenu [ERROR ->][item]="model" root="true" class="layout-menu clearfix" [reset]="reset" visible="true"></ul>
"): GuiMgrComponent@1:24
I looked through the package.json files, and noticed that my @angular dependencies match up perfectly (all ~2.4.0), but that the devDependencies are a bit different. You have (in Poseidon 1.0.1):
Code: Select all
"@angular/cli": "1.0.0-beta.30",
"@angular/compiler-cli": "^2.3.1",
where I have:
Code: Select all
"@angular/cli": "1.0.0-rc.0",
"@angular/compiler-cli": "^2.4.0",
I tried to match yours but got a strange build error, I think because then there was a mismatch with my global install of @angular-cli (I have 1.0.0-beta.32.3 installed globally). I tried, in package.json, 1.0.0-beta.32.3 (my global install) and 2.3.1, and it built fine, but produced the same error as above. What kind of problems would produce the error I'm seeing?
John