Skip to content

export 'turbolinksAdapterMixin' was not found in 'vue-turbolinks' #503

@jonasjabari

Description

@jonasjabari

What is the current behavior?

The latest release of vue-turbolinks 2.2.0 causes following error when compiling your JavaScript pack which requires matestack-ui-core. Until 2.1.0 it worked fine.

ERROR in ./node_modules/matestack-ui-core/app/concepts/matestack/ui/core/js/core.js 41:13-35
"export 'turbolinksAdapterMixin' was not found in 'vue-turbolinks'
 @ ./node_modules/matestack-ui-core/app/javascript/matestack-ui-core/index.js
 @ ./app/javascript/packs/application.js

The package.json of matestack-ui-core allows minor version upgrades of vue-turbolinks, which will now resolve to 2.2.0, which causes the above described error.

Current workaround

Specify the resolution of vue-turbolinks in your package.json like:

{
  "name": "your_app",
  "private": true,
  "dependencies": {
    "matestack-ui-core": "https://github.com/matestack/matestack-ui-core#v1.3.1",
    // ...
  },
  "resolutions": {
    "vue-turbolinks": "2.1.0"
  }
}

Quick fix

Do not allow version 2.2.0 in package.json of matestack-ui-core and release 1.3.2

Proper fix

Analyze how to work with version 2.2.0 properly

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions