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

[Bug] sharedStore is not injected into Vue instance #1910

Closed
1 task done
super-kamil opened this issue Jul 2, 2022 · 4 comments · Fixed by #1912
Closed
1 task done

[Bug] sharedStore is not injected into Vue instance #1910

super-kamil opened this issue Jul 2, 2022 · 4 comments · Fixed by #1912
Assignees
Labels
bug Something isn't working
Milestone

Comments

@super-kamil
Copy link

super-kamil commented Jul 2, 2022

What happened?

The latest (1.5.1) release is unusable. After clean installation, the app does not start.

image

Steps To Reproduce

  1. Setup new app with npx @shopware-pwa/cli init
  2. Run yarn dev

Is there an existing issue for this?

  • I have searched the existing issues

Version

Latest stable (generated by CLI)

Which element is affected?

composables

Environment

- OS: Win11
- Node: 14.19.0

Relevant log output

No response

@super-kamil super-kamil added the bug Something isn't working label Jul 2, 2022
@super-kamil
Copy link
Author

 WARN  [getApplicationContext] Use createShopware method to setup composables.
 WARN  [useBreadcrumbs] Use createShopware method to setup composables.
 WARN  [useSharedState] Use createShopware method to setup composables. 

@super-kamil
Copy link
Author

Unfortunately, I'm totally blocked now by this.

I tried many things. Installed on a Linux env.

What is strange, even if I install 1.4.0 I get the same error.

@mkucmus mkucmus self-assigned this Jul 4, 2022
@mkucmus mkucmus added this to the v1.5.2 milestone Jul 4, 2022
@mkucmus
Copy link
Collaborator

mkucmus commented Jul 4, 2022

Some dependency enforces to use vue at version 2.7.0 in the project and it's been not tested yet, so we had some problems and need to make a migration according to the migration guide of 2.7.x itself.

It's recommended to reinit a project after the 1.5.2 is released (tomorrow probably), or do it manually by adding a resolutions section in your package.json, as it's done here: https://github.com/vuestorefront/shopware-pwa/pull/1912/files#diff-fed5090dfd20306052054c7ead52a4bd2066b4e42f742c866841be53368cc9a7

we will keep you updated when we are up to date with the latest release of vue core packages, then the resolutions section won't be needed anymore 👍🏻

@super-kamil
Copy link
Author

works, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants