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

Fix: outdated vue-server-renderer conflicts with newest vue on production #391

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mrauhu
Copy link

@mrauhu mrauhu commented Feb 19, 2020

Hello, Guillaume @Akryum.

This pull request for fixing a version mismatch of Vue and Vue Server Renderer.

Error

Vue packages version mismatch:
        
- [email protected]
- [email protected]
        
This may cause things to work incorrectly. Make sure to use the same version for both.
Trace

            at Object.<anonymous> (/built_app/programs/server/npm/node_modules/meteor/akryum_vue-ssr/node_modules/vue-server-renderer/index.js:8:9)
            at Module._compile (internal/modules/cjs/loader.js:959:30)
            at Module.Mp._compile (/built_app/programs/server/runtime.js:50:23)
            at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
            at Module.load (internal/modules/cjs/loader.js:815:32)
            at Module.Mp.load (/built_app/programs/server/runtime.js:15:31)
            at Function.Module._load (internal/modules/cjs/loader.js:727:14)
            at Module.require (internal/modules/cjs/loader.js:852:19)
            at require (internal/modules/cjs/helpers.js:74:18)
            at npmRequire (/built_app/programs/server/npm-require.js:133:12)
            at Module.useNode (packages/modules-runtime.js:664:18)
            at module (/built_app/programs/server/packages/akryum_vue-ssr.js:432:8)
            at fileEvaluate (packages/modules-runtime.js:336:7)
            at Module.require (packages/modules-runtime.js:238:14)
            at Module.moduleLink [as link] (/built_app/programs/server/npm/node_modules/meteor/modules/node_modules/reify/lib/runtime/index.js:52:22)
            at module (packages/akryum:vue-ssr/server/index.js:1:76)
            at fileEvaluate (packages/modules-runtime.js:336:7)
            at Module.require (packages/modules-runtime.js:238:14)
            at require (packages/modules-runtime.js:258:21)
            at /built_app/programs/server/packages/akryum_vue-ssr.js:468:15
            at /built_app/programs/server/packages/akryum_vue-ssr.js:475:3
            at /built_app/programs/server/boot.js:398:38

Solution

Installing vue-server-renderer via akryum:npm-check for akryum:vue-ssr.

Best wishes,
Sergey.

Install `vue-server-renderer` via `akryum:npm-check` for `akryum:vue-ssr`.
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

Successfully merging this pull request may close these issues.

1 participant