-
-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
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 workingSomething isn't working