Skip to content

class $7fe8e3ea572bda7a$export$11bbed9ee0012c13 extends $8zHUo$react.Component { #240

Open
@gcmm

Description

@gcmm

image

Activity

GloryXia

GloryXia commented on Jun 1, 2022

@GloryXia

Same error, waiting a solution😂

GloryXia

GloryXia commented on Jun 1, 2022

@GloryXia

https://umijs.org/zh-CN/config#extrababelincludes
export default { extraBabelIncludes: [ 'react-sortablejs' ], }
老铁如果你用的是umi.js, 把这个包加到babel 编译里面就行了,不知道为啥生产环境混进了没编译的代码。
Bro, if you are using umi.js, just add this package to the babel compilation. I don't know why the uncompiled code is mixed into the production environment.

talhaanees

talhaanees commented on Jun 1, 2022

@talhaanees

This is happening in v 6.1.4.
Reverting back to 6.1.1 fixed it for me.

GloryXia

GloryXia commented on Jun 1, 2022

@GloryXia

This is happening in v 6.1.4. Reverting back to 6.1.1 fixed it for me.

yeah, just add this package to the babel compilation, it will be works.

SowmyaDasari

SowmyaDasari commented on Jun 3, 2022

@SowmyaDasari

@talhaanees i have changed my version to 6.1.1 still it is giving me the same error. Any suggestions Please @GloryXia?

zb188

zb188 commented on Jun 6, 2022

@zb188

@andresin87 I also encounter this problem, please verify and fix it

zoomtronic

zoomtronic commented on Jun 8, 2022

@zoomtronic

This is happening in v 6.1.4. Reverting back to 6.1.1 fixed it for me.

yeah, just add this package to the babel compilation, it will be works.

@GloryXia How can you do this ?

natoze

natoze commented on Jun 10, 2022

@natoze

Same issue here.

zoomtronic

zoomtronic commented on Jun 10, 2022

@zoomtronic

I've just fixed the version in my package.json by removing the "^" in "^6.1.1"
run npm install and the 6.1.1 should be installed !
works for me since..

jsenosiain

jsenosiain commented on Jun 13, 2022

@jsenosiain

I can confirm that @zoomtronic solution works.

GloryXia

GloryXia commented on Jun 16, 2022

@GloryXia

@talhaanees i have changed my version to 6.1.1 still it is giving me the same error. Any suggestions Please @GloryXia?

I don't know, and I just compiled this node_module with Babel, in umi.js, it's easy to did this.this way:
https://umijs.org/zh-CN/config#extrababelincludes

GloryXia

GloryXia commented on Jun 16, 2022

@GloryXia

This is happening in v 6.1.4. Reverting back to 6.1.1 fixed it for me.

yeah, just add this package to the babel compilation, it will be works.

@GloryXia How can you do this ?

https://umijs.org/zh-CN/config#extrababelincludes here

1123612483

1123612483 commented on Jun 25, 2022

@1123612483
1123612483

1123612483 commented on Jun 27, 2022

@1123612483

https://umijs.org/zh-CN/config#extrababelincludes export default { extraBabelIncludes: [ 'react-sortablejs' ], } 老铁如果你用的是umi.js, 把这个包加到babel 编译里面就行了,不知道为啥生产环境混进了没编译的代码。 Bro, if you are using umi.js, just add this package to the babel compilation. I don't know why the uncompiled code is mixed into the production environment.

谢谢老铁

temurih

temurih commented on Jul 15, 2022

@temurih

Downgrading to 6.1.1 worked!
"react-sortablejs": "6.1.1"
"react-sortablejs": "^6.1.1"

3 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @zb188@temurih@welcomemax@jsenosiain@natoze

        Issue actions

          class $7fe8e3ea572bda7a$export$11bbed9ee0012c13 extends $8zHUo$react.Component { · Issue #240 · SortableJS/react-sortablejs