react-sortablejs icon indicating copy to clipboard operation
react-sortablejs copied to clipboard

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

Open gcmm opened this issue 3 years ago • 18 comments

image

gcmm avatar Jun 01 '22 05:06 gcmm

Same error, waiting a solution😂

GloryXia avatar Jun 01 '22 09:06 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.

GloryXia avatar Jun 01 '22 09:06 GloryXia

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

talhaanees avatar Jun 01 '22 09:06 talhaanees

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 avatar Jun 01 '22 09:06 GloryXia

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

SowmyaDasari avatar Jun 03 '22 04:06 SowmyaDasari

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

zb188 avatar Jun 06 '22 00:06 zb188

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 ?

zoomtronic avatar Jun 08 '22 14:06 zoomtronic

Same issue here.

natoze avatar Jun 10 '22 12:06 natoze

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..

zoomtronic avatar Jun 10 '22 12:06 zoomtronic

I can confirm that @zoomtronic solution works.

jsenosiain avatar Jun 13 '22 18:06 jsenosiain

@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 avatar Jun 16 '22 07:06 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

GloryXia avatar Jun 16 '22 07:06 GloryXia

@andresin87

1123612483 avatar Jun 25 '22 09:06 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.

谢谢老铁

1123612483 avatar Jun 27 '22 03:06 1123612483

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

temurih avatar Jul 15 '22 07:07 temurih

Should be fixed in #244 and #247

welcomemax avatar Sep 07 '22 08:09 welcomemax

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).

theotimepoisseau-bib avatar Feb 15 '23 11:02 theotimepoisseau-bib

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

WORK

andreichirkov avatar Nov 30 '23 08:11 andreichirkov