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

Uncaught ReferenceError: regeneratorRuntime is not defined #106

Closed
renepardon opened this issue Jan 3, 2020 · 8 comments
Closed

Uncaught ReferenceError: regeneratorRuntime is not defined #106

renepardon opened this issue Jan 3, 2020 · 8 comments

Comments

@renepardon
Copy link

As soon as I import the tree component into my project's component (nothing more is required) it complains with the error described in the title.

I use following versions:
vue-draggable-nested-tree: "^2.2.18",
tree-helper: "^1.4.14",
draggable-helper: "^3.0.4",
node: v12.14.0
yarn: 1.10.1

<script>
    import Layout from '../../../components/Layout.vue'
    import {DraggableTree} from 'vue-draggable-nested-tree'
    // import {forIn} from 'tree-helper'
    // import _ from 'underscore'

    export default {
        name: 'MenuItemsEditPage',
        components: {
            Layout,
            Tree: DraggableTree
        },

...
@phphe
Copy link
Owner

phphe commented Jan 10, 2020

Thank you 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/

@phphe
Copy link
Owner

phphe commented Jan 18, 2020

this should be caused by build. I added branch build-with-rogo, and published 3.0.0-beta. install by

npm install vue-draggable-nested-tree@3.0.0-beta --save

it should work well.

@abalshakou
Copy link

this should be caused by build. I added branch build-with-rogo, and published 3.0.0-beta. install by

npm install vue-draggable-nested-tree@3.0.0-beta --save

it should work well.

dont work anyway :(
vue-functions.esm.js?0eca:49 Uncaught ReferenceError: regeneratorRuntime is not defined at eval (vue-functions.esm.js?0eca:49) at Object../node_modules/vue-draggable-nested-tree/node_modules/vue-functions/dist/vue-functions.esm.js (app.js:932) at __webpack_require__ (app.js:679) at fn (app.js:89) at eval (vue-draggable-nested-tree.esm.js?e249:1) at Object../node_modules/vue-draggable-nested-tree/dist/vue-draggable-nested-tree.esm.js (app.js:908)

@phphe
Copy link
Owner

phphe commented Jan 29, 2020

try vue-draggable-nested-tree@3.0.0-beta2
and remove node_modules, reinstall

@abalshakou
Copy link

try vue-draggable-nested-tree@3.0.0-beta2
and remove node_modules, reinstall

yes i uninstall vue-draggable-nested-tree
and install vue-draggable-nested-tree@3.0.0-beta
but it still dont work
i need to reinstall all npm?

@phphe
Copy link
Owner

phphe commented Jan 29, 2020

npm i -S vue-draggable-nested-tree@3.0.0-beta2

If still not work, remove node_modules, reinstall all

npm install

@phphe
Copy link
Owner

phphe commented Jan 29, 2020

it is 3.0.0-beta2 not 3.0.0-beta. I just published it.

@renepardon
Copy link
Author

Works perfectly, thx @phphe

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

No branches or pull requests

3 participants