Coder Social home page Coder Social logo

Comments (3)

bashayerAlsalman avatar bashayerAlsalman commented on July 23, 2024 1

@nandita121189 apologize for the late replay, I used primeng/dragdrop instead.

from ngx-sortablejs.

nandita121189 avatar nandita121189 commented on July 23, 2024

@bashayerAlsalman Any update on your end?

I am getting a similar issue while integrating with Angular 5

I tried integrating this library with Angular 5. On doing npm install(as suggested in Readme) I got the below versions
"ngx-sortablejs": "^11.1.0",
"sortablejs": "^1.14.0",
"@types/sortablejs": "^1.10.7",

But after including it in Angular I get the below error

ERROR in node_modules/ngx-sortablejs/node_modules/tslib/tslib.d.ts(49,82): error TS2304: Cannot find name 'unknown'.
node_modules/ngx-sortablejs/node_modules/tslib/tslib.d.ts(67,82): error TS2304: Cannot find name 'unknown'.
node_modules/ngx-sortablejs/node_modules/tslib/tslib.d.ts(76,96): error TS2304: Cannot find name 'unknown'.
node_modules/ngx-sortablejs/node_modules/tslib/tslib.d.ts(85,82): error TS2304: Cannot find name 'unknown'.
node_modules/ngx-sortablejs/node_modules/tslib/tslib.d.ts(85,121): error TS2304: Cannot find name 'unknown'.
node_modules/ngx-sortablejs/node_modules/tslib/tslib.d.ts(96,55): error TS2304: Cannot find name 'unknown'.
node_modules/ngx-sortablejs/node_modules/tslib/tslib.d.ts(103,82): error TS2304: Cannot find name 'unknown'.
node_modules/ngx-sortablejs/node_modules/tslib/tslib.d.ts(123,82): error TS2304: Cannot find name 'unknown'.
node_modules/ngx-sortablejs/lib/sortablejs.directive.d.ts(25,17): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/ngx-sortablejs/lib/sortablejs.directive.d.ts(26,17): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/ngx-sortablejs/lib/sortablejs.directive.d.ts(28,17): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/ngx-sortablejs/lib/sortablejs.directive.d.ts(30,17): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/ngx-sortablejs/lib/sortablejs.module.d.ts(4,45): error TS2315: Type 'ModuleWithProviders' is not generic.

from ngx-sortablejs.

nandita121189 avatar nandita121189 commented on July 23, 2024

@bashayerAlsalman did it work for u in angular 6?

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.