ember-graphql / ember-apollo-client

🚀 An ember-cli addon for Apollo Client and GraphQL
MIT License
279 stars 72 forks source link

Could not find module `@apollo/client/core` imported from `ember-apollo-client/services/apollo` #422

Open gordonbisnor opened 2 years ago

gordonbisnor commented 2 years ago

I suspect this might be an issue not with ember-apollo-client but with how I'm deploying/building?

Error message

Could not find module @apollo/client/core imported from ember-apollo-client/services/apollo

Deploy strategy

I'm deploying using ember-cli-deploy and the "lightning" deploy strategy, serving my Ember index.html from Ruby on Rails, and storing the Ember app on Amazon S3.

ember-apollo-client has been working in my app for years, but I'm having trouble upgrading Ember /ember-apollo-client / ember-auto-import

Dev dependencies

Dependencies

"@apollo/client": "^3.5.10"

ember-cli-build

  autoImport: {
    publicAssetURL: EmberApp.env() === 'production' ? 'https://s3.amazonaws.com/my-site/' : undefined,
  },

Deployment

arthurrsouza commented 1 year ago

I'm having the same issue. My set up is basically identical to this.