Open javaspeak opened 6 years ago
The attached zip has an updated package.json and angular-cli.json
It now works.
I had to delete the following test files as validation now fails them:
ERROR in /Users/johndickerson/workspaces/43kare/angular-router-menu-system/src/app/categories-menu/categories-menu.component.spec.ts (8,21): Supplied parameters do not match any signature of call target.
ERROR in /Users/johndickerson/workspaces/43kare/angular-router-menu-system/src/app/course-cards/course-cards.component.spec.ts (8,21): Supplied parameters do not match any signature of call target.
With the test files deleted and the update package.json and angular-cli.json files it is now serving.
Maybe you can update your code - I think the problem is that somehow someone made some git changes to stuff already committed in the past but messed up a git hash. To difficult for me to resolve. A lot of stuff was beta in the dependencies so this was a bit understandable.
I could not work out what the problem was so I just upgraded all the versions. If the test files are deleted then ng serve works (constructors of CourseCardsComponent and SideMenuComponent need values passed to them I think).
Am not an expert yet - was trying to learn off your code :-)
Maybe you can update the code so others do not have same problem
:-)
I found the link to your code in a comment for the following blog:
Thanks for your contribution
It is still not working even after I replaced package.json and angular-cli.json
2017-11-21T07_49_20_156Z-debug.log
Hi
When I run npm install it errrors.
Not sure if this somehow relates to the versions in package.json. In the attached log file from running npm install you will see the error:
3099 silly pacote version manifest for typescript@2.0.10 fetched in 3ms 3100 silly fetchPackageMetaData error for compression-webpack-plugin@github:webpack/compression-webpack-plugin#7e55907cd54a2e91b96d25a660acc6a2a6453f54 Command failed: /usr/bin/git checkout 7e55907cd54a2e91b96d25a660acc6a2a6453f54 3100 silly fetchPackageMetaData fatal: reference is not a tree: 7e55907cd54a2e91b96d25a660acc6a2a6453f54 3101 verbose stack Error: Command failed: /usr/bin/git checkout 7e55907cd54a2e91b96d25a660acc6a2a6453f54 3101 verbose stack fatal: reference is not a tree: 7e55907cd54a2e91b96d25a660acc6a2a6453f54
I am new to this so apologies if this is an environmental error on my part.
Any pointers much appreciated.
Thank you