bluek1te / feed-txstate

Food Tracking Application created for the Hays County Food Bank
5 stars 0 forks source link

Added distribution page to front end #24

Closed holliew closed 5 years ago

smashwilson commented 5 years ago

Okay, merged in the linting tools from #17 and ran them on the new code to deconflict things.

Did you forget to add dependencies to package.json?

ERROR in app/graphql.module.ts:2:46 - error TS2307: Cannot find module 'apollo-angular'.

2 import { ApolloModule, APOLLO_OPTIONS } from "apollo-angular";
                                               ~~~~~~~~~~~~~~~~
app/graphql.module.ts:3:42 - error TS2307: Cannot find module 'apollo-angular-link-http'.

3 import { HttpLinkModule, HttpLink } from "apollo-angular-link-http";
                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~
app/graphql.module.ts:4:31 - error TS2307: Cannot find module 'apollo-cache-inmemory'.

4 import { InMemoryCache } from "apollo-cache-inmemory";

You'll likely need to run npm install apollo-angular apollo-angular-link-http apollo-cache-inmemory and commit and push the changes to package.json and package-lock.json to bring them up to date. 🤔

bluek1te commented 5 years ago

The apollo stuff is an artifact of something experimental I did at the beginning of the year. I was going to implement graphql, but I decided that it was unnecessary and I forgot to remove them from master when you branched off of it. I don't think(?) that the current angular build contains any apollo things but I could be wrong. I'll try to fix and push to your branch.