-
Notifications
You must be signed in to change notification settings - Fork 469
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
Can't resolve 'vue/server-renderer' #2245
Comments
Can you try version |
Can you also specify the version of NuxtJS or VueJS for which this is happening? |
I will try for 3.1.0-alpha.2 version also. I am not using NuxtJS and just using vue.js 3 Here is my package file
|
@SavvyShah we have a monorepo structure, using pnpm and pnpm workspace |
@SavvyShah getting same error on 3.1.0-alpha.2 Can't resolve 'vue/server-renderer' |
I suspect something related to the monorepo structure. Vuejs is not resolved to be version 3, it's still using version 2 and hence it doesn't find vue/server-renderer. |
Also it would help if you paste the output of |
@SavvyShah Project Structure monorepo
|
I am using - @vue/compat , is that might be the reason? |
You're correct. It's one of it's known limitations. |
@SavvyShah You mean once I am done with migration and remove @vue/compat then it would start working? right |
Correct. |
@SavvyShah Thanks, I will let you know once done with migration. |
Additionally, for Reactivesearch library you would need to perform a few changes migrating from vue v2 -> vue v3. You can follow the guide in docs. |
@SavvyShah Thanks Yesterday, I successfully removed 'vue/compact' from my setup, and Reactivesearch is now installed without any errors. My next step is to follow the migration documentation to ensure that my code functions properly. |
@SavvyShah thanks for help, Now I am getting another issue while migration, Please help |
Affected Projects
Vue.JS
"@appbaseio/reactivesearch-vue": "3.1.0-alpha.1",
Screenshots
Desktop (please complete the following information):
while migration from vue 2 to vue 3, I am getting this error. How to resolve it
The text was updated successfully, but these errors were encountered: