kamilkp / angular-vs-repeat

Virtual Scroll for AngularJS ngRepeat directive
http://kamilkp.github.io/angular-vs-repeat/
MIT License
818 stars 228 forks source link

Unable import the angular-vs-import #212

Open harshitgupta opened 6 years ago

harshitgupta commented 6 years ago

Hi,

I tried to import the package in my app but it is throwing the following error:

ERROR in ./~/angular-vs-repeat/dist/angular-vs-repeat.min.js

Module build failed: ReferenceError: Unknown plugin "@babel/plugin-proposal-optional-chaining" specified in "/Users/*/*/node_modules/angular-vs-repeat/.babelrc" at 0, attempted to resolve relative to "/Users//**/node_modules/angular-vs-repeat"

The following are the literally two steps I did:

  1. yarn add angular-vs-repeat
  2. import "angular-vs-repeat";

Versions:

Please let me know if I am missing something or if you want additional details.