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

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

Open
gcmm opened this issue Jun 1, 2022 · 18 comments

Comments

@gcmm
Copy link

gcmm commented Jun 1, 2022

image

@GloryXia
Copy link

GloryXia commented Jun 1, 2022

Same error, waiting a solution😂

@GloryXia
Copy link

GloryXia commented Jun 1, 2022

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
Copy link

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

@GloryXia
Copy link

GloryXia commented Jun 1, 2022

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
Copy link

SowmyaDasari commented Jun 3, 2022

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

@zb188
Copy link

zb188 commented Jun 6, 2022

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

@zoomtronic
Copy link

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
Copy link

natoze commented Jun 10, 2022

Same issue here.

@zoomtronic
Copy link

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
Copy link

I can confirm that @zoomtronic solution works.

@GloryXia
Copy link

@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
Copy link

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
Copy link

@andresin87

@1123612483
Copy link

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
Copy link

temurih commented Jul 15, 2022

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

@welcomemax
Copy link

Should be fixed in #244 and #247

@theotimepoisseau-bib
Copy link

I confirm this issue, it made me mad from days and thought it was coming from spfx build chain. (I upgrade a project from spfx 1.12 to 1.16).

@andreichirkov
Copy link

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

WORK

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