Skip to content

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

Open

Description

@gordonbisnor

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

  • "ember-apollo-client": "^4.0.2"
  • "ember-auto-import": "^2.4.1",
  • "ember-source": "3.28.8",

Dependencies

"@apollo/client": "^3.5.10"

ember-cli-build

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

Deployment

  • "ember-cli-deploy": "1.0.2",
  • "ember-cli-deploy-build": "2.0.0",
  • "ember-cli-deploy-display-revisions": "2.1.2",
  • "ember-cli-deploy-redis": "3.1.1",
  • "ember-cli-deploy-revision-data": "2.0.0",
  • "ember-cli-deploy-s3": "3.1.0",
  • "ember-cli-deploy-ssh-tunnel": "1.0.0",

Activity

  1. arthurrsouza commented on Mar 16, 2023

    @arthurrsouza

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions