Skip to content
This repository was archived by the owner on Aug 21, 2020. It is now read-only.
This repository was archived by the owner on Aug 21, 2020. It is now read-only.

v1.2.6 Does not work with Rollup.js #52

Open

Description

@lfarran

With Angular 4.0.0 rollup AOT builds:

{ Error: 'CookieService' is not exported by node_modules/angular2-cookie/core.js
at error (node_modules/rollup/src/utils/error.js:2:14)
at Module.error$1 [as error] (/node_modules/rollup/src/Module.js:303:2)
at Module.trace (/node_modules/rollup/src/Module.js:400:10)
at ModuleScope.findDeclaration (/node_modules/rollup/src/ast/scopes/ModuleScope.js:52:22)
at Identifier.bind (/node_modules/rollup/src/ast/nodes/Identifier.js:22:29)
at /node_modules/rollup/src/ast/Node.js:6:34
at ArrayExpression.eachChild (/node_modules/rollup/src/ast/Node.js:18:20)
at ArrayExpression.bind (/node_modules/rollup/src/ast/Node.js:6:8)
at /node_modules/rollup/src/ast/Node.js:6:34
at Node.eachChild (/node_modules/rollup/src/ast/Node.js:21:5)
code: 'MISSING_EXPORT',
url: 'https://github.com/rollup/rollup/wiki/Troubleshooting#name-is-not-exported-by-module',
pos: 781,
loc:

Activity

  1. lfarran commented on Mar 27, 2017

    @lfarran
    Author

    Work around:
    Change:
    import { CookieService } from 'angular2-cookie/core';

    To:
    import { CookieService } from 'angular2-cookie/services';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions