Coder Social home page Coder Social logo

Support Angular 12 about ngx-sortablejs HOT 9 OPEN

nunoarruda avatar nunoarruda commented on June 24, 2024 9
Support Angular 12

from ngx-sortablejs.

Comments (9)

Anikethana avatar Anikethana commented on June 24, 2024 4

pull request #246

from ngx-sortablejs.

nunoarruda avatar nunoarruda commented on June 24, 2024 3

Node.js LTS version is now v16.x which includes npm v8.x. These versions will error out on npm install if there is an incorrect (and potentially broken) dependency resolution which looks to be the case with ngx-sortablejs:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"~12.2.11" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^11.0.0" from [email protected]
npm ERR! node_modules/ngx-sortablejs
npm ERR!   ngx-sortablejs@"^11.1.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /Users/nunoarruda/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/nunoarruda/.npm/_logs/2021-11-02T15_53_02_208Z-debug.log

Workaround: use npm install --force or npm install --legacy-peer-deps.

@smnbbrv can you please fix this when you have a chance?

from ngx-sortablejs.

nunoarruda avatar nunoarruda commented on June 24, 2024 1

At this stage, it looks like this project is pretty much dead and/or abandoned. I suggest you folks give these alternatives a try:

https://material.angular.io/cdk/drag-drop/overview (for mixed direction, follow MikaStark workaround)
https://valor-software.com/ng2-dragula/
https://kreuzerk.github.io/ng-sortgrid/

from ngx-sortablejs.

COBRASoft5 avatar COBRASoft5 commented on June 24, 2024 1

cdk doesn't work with grids
dragula also dead
sortgrid doesn't cut it

SortableJs is the best available, but it needs to be maintained :(

from ngx-sortablejs.

Deitsch avatar Deitsch commented on June 24, 2024 1

Yes, it's dead.
I'd suggest https://github.com/ThibaultJanBeyer/DragSelect as alternative

from ngx-sortablejs.

arimus avatar arimus commented on June 24, 2024

It might be appropriate to not depend on a specific version of Angular and do a greater than the min requirements as a peer dependency instead? Would prevent having to create new builds for every Angular release.

from ngx-sortablejs.

imtiazShakil avatar imtiazShakil commented on June 24, 2024

is this project dead?

from ngx-sortablejs.

SylvainUMI avatar SylvainUMI commented on June 24, 2024

Holly shit it's too bad ....

from ngx-sortablejs.

nzbin avatar nzbin commented on June 24, 2024

Hi, folks, I suggest you can try the ng-dnd library and it's very easy to solve the mixed direction issue (angular/components#13372), please check the following example:
https://stackblitz.com/edit/867pxw?file=src%2Fexample%2Fchips-drag-drop-example.html

from ngx-sortablejs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.