angular-vs-repeat icon indicating copy to clipboard operation
angular-vs-repeat copied to clipboard

Unable import the angular-vs-import

Open harshitgupta opened this issue 7 years ago • 0 comments

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:

  • OS - macos 10.13.4
  • angular-vs-repeat -> 2.0.9
  • node ->8.11.2
  • npm -> 6.1.0
  • babel-core -> 6.7.7
  • angular -> 1.5.7

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

harshitgupta avatar Jul 12 '18 16:07 harshitgupta