Closed frereit closed 2 years ago
Build of api fails because of missing ical-generator
plugin
Step 9/27 : RUN yarn run build
---> Running in 05b874d9d7b6
yarn run v1.22.15
$ tsc
src/routes/ical.ts(1,30): error TS2307: Cannot find module 'ical-generator' or its corresponding type declarations.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: Service 'api' failed to build : The command '/bin/sh -c yarn run build' returned a non-zero code: 2
``
Good catch, I still had it installed from previous tests.
Okay, I have reproduced the issue and am working on it.
Interestingly enough, it doesn't happen on upstream-ical-link, the branch that's compatible with the upstream dev branch.
Edit: should be fixed. Completely removing all docker images, volumes, and containers and rebuilding works, so I think it should work now.
Sorry about the huge commit :/
To make this work, I had to do some minor fixes and make /calendar.ics available through the nginx proxy in front (and quasar config for development).
I also removed graphql files from eslint because we dropped the graphql eslint plugin.
This will close #30 and close #9