ngx-sortablejs
ngx-sortablejs copied to clipboard
OriginalSortable.create is not a function
This was working fine from months in this config, suddenly started giving this error. What's going wrong here. Anyone ?
Thanks in advance.
I am also facing this same issue.
After googling it, I came to know that this package has been deprecated and its name has been changed to ngx-sortablejs.
So please let me know if you get success in fixing this issue or you just changed your package to ngx-sortablejs.
Thanks
The library was renamed and further developed. Probably the issue you are facing is a mismatch between the versions of ngx-sortablejs and sortablejs
Thanks @smnbbrv, Then please let me know should I update my package name in my package.json file. Or should I remove this package or use this from scratch.
I have fixed this issue by defining the fixed version of sorablejs in package.json file and then run the npm i command.
You can fixed the specific version by removing ^ before the version of package name in package.json file.
Thanks
Here is the solution, you can check the path in the screenshot
Change this (line no 15)

to this

I have fixed this issue by defining the fixed version of
sorablejsinpackage.jsonfile and then run thenpm icommand.You can fixed the specific version by removing
^before the version of package name inpackage.jsonfile. Thanks
This solved the issue. Thank you so much.