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

4.4.6版本 react

Open Tu-lele opened this issue 2 years ago • 7 comments
trafficstars

in ./node_modules/[email protected]@react-draggable/build/cjs/Draggable.js Module parse failed: Unexpected token (78:10) You may need an appropriate loader to handle this file type. | y: position.y, | prevPropsPosition: { | ...position | } | };

Tu-lele avatar Sep 28 '23 06:09 Tu-lele

@matoilic

Tu-lele avatar Sep 28 '23 06:09 Tu-lele

This bug crashed our builds.
Any estimate on a fix? We do not use this project directly, but we do use react-data-grid which relies on react-resizable which depends on this project which just broke.

apwelsh avatar Sep 28 '23 21:09 apwelsh

Hi, we are experiencing the same problem using react-resizable that depends on react-draggable. We have fixed package version to 4.4.5 in project package.json as workaround. Please fix this issue.

jonnypa avatar Sep 29 '23 13:09 jonnypa

Hi, we are experiencing the same problem using react-resizable that depends on react-draggable. We have fixed package version to 4.4.5 in project package.json as workaround. Please fix this issue.

hi, Do you want "react-draggable" in package.json: "4.4.5"

Tu-lele avatar Oct 01 '23 10:10 Tu-lele

I am experiencing this issue as well using the version 4.4.3, do we have any workaround for it? I tried to use the version 4.4.5 and it didn't work either.

normancarcamo avatar Oct 12 '23 12:10 normancarcamo

"resolutions": { "react-draggable":"4.0.3" } try this in your package.json. it works for me

hulkyuan avatar Nov 24 '23 02:11 hulkyuan

  {
    test: /\.js$/,
    loader: 'babel-loader',
    include: [
      resolve('src'),
      resolve(
        'node_modules/react-draggable/build/cjs'
      ),
    ],
  },

stone-hz avatar Dec 08 '23 06:12 stone-hz