Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: no such module 'Runtime' #66

Open
imfractured opened this issue Aug 3, 2021 · 2 comments
Open

error: no such module 'Runtime' #66

imfractured opened this issue Aug 3, 2021 · 2 comments
Labels

Comments

@imfractured
Copy link

Hi! My team is looking to use this package in our BFF and I was trying to get the docker image to build but I'm running into an issue where I see error: no such module 'Runtime' coming from /build/.build/checkouts/Graphiti/Sources/Graphiti/Field/Field/Field.swift:2:8:

I'm assuming I need to add some framework to my docker container but I'm not exactly sure which one? Any help would be much appreciated!

Thanks!
Nick

@alexsteinerde
Copy link
Member

Hi.
Which version of Graphiti and which version of Swift are you using?
With version 0.25.0 of Graphiti the package Runtime has been removed as a dependency. I would recommend to update the GraphQL and Graphiti dependencies to the lastest version (or a version above 0.25.0 if the latest version is not working for you).

@alexsteinerde
Copy link
Member

If you need an example, I'm using the Vapor template for most of my Dockerfiles. This file does work for me with a Swift 5.4 GraphQL project: https://github.com/alexsteinerde/vapor-graphql-examples/blob/master/web.Dockerfile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants