Skip to content

Unable import the angular-vs-import #212

@harshitgupta

Description

@harshitgupta

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions