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

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

Open
gordonbisnor opened this issue Apr 2, 2022 · 1 comment

Comments

@gordonbisnor
Copy link

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",
@arthurrsouza
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants