phphe/vue-draggable-nested-tree

not compatible with corejs@3 ?

smilingkite opened this issue · 7 comments

I had trouble upgrading from 2.1.17 to 2.2.18, as it doesn't work with corejs@3.

I have now reproduced that problem with vue cli upgraded to corejs@3 as recommended in this stackoverflow answer:
https://stackoverflow.com/questions/56686472/how-to-setup-a-vue-cli-with-vuetify-project-to-run-with-ie-11

Among other things, it can't find : core-js/library/fn/get-iterator

phphe commented

I have not got this problem. Try reinstall node_modules

Here's the error:

  • core-js/library/fn/get-iterator in ./node_modules/vue-draggable-nested-tree/dist/vue-draggable-nested-tree.es.js
  • core-js/library/fn/object/assign in ./node_modules/vue-draggable-nested-tree/dist/vue-draggable-nested-tree.es.js
  • core-js/library/fn/object/define-property in ./node_modules/vue-draggable-nested-tree/dist/vue-draggable-nested-tree.es.js
  • core-js/library/fn/object/keys in ./node_modules/vue-draggable-nested-tree/dist/vue-draggable-nested-tree.es.js
  • core-js/modules/es6.array.find in ./node_modules/vue-draggable-nested-tree/dist/vue-draggable-nested-tree.es.js
  • core-js/modules/es6.function.name in ./node_modules/vue-draggable-nested-tree/dist/vue-draggable-nested-tree.es.js
  • core-js/modules/es6.number.constructor in ./node_modules/vue-draggable-nested-tree/dist/vue-draggable-nested-tree.es.js
  • core-js/modules/es6.regexp.replace in ./node_modules/vue-draggable-nested-tree/dist/vue-draggable-nested-tree.es.js
  • core-js/modules/web.dom.iterable in ./node_modules/vue-draggable-nested-tree/dist/vue-draggable-nested-tree.es.js

core-js 3 renamed es6 to es and es7 to esnext

I'm having the same issue

Same issue using "core-js": "^3.3.2" "vue-draggable-nested-tree": "^2.2.18"

same issue

same here

phphe commented

Thank for your use. I published he-tree-vue. vue-draggable-nested-tree will no longer be updated.
try this https://he-tree-vue.phphe.com/