Skip to content

Promise.d.ts breaking - How to fix? #3

@webdev48

Description

@webdev48
XXX:angular2-library-example xxx $ npm run build

> angular2-library-example@1.0.6 build /Users/xxxx/Documents/workspace/angular2-library-example
> rm -rf lib && tsc -p src

node_modules/angular2/src/facade/promise.d.ts(1,10): error TS2661: Cannot re-export name that is not defined in the module.

npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! node v4.4.7
npm ERR! npm  v3.10.7
npm ERR! code ELIFECYCLE
npm ERR! angular2-library-example@1.0.6 build: `rm -rf lib && tsc -p src`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the angular2-library-example@1.0.6 build script 'rm -rf lib && tsc -p src'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the angular2-library-example package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     rm -rf lib && tsc -p src
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs angular2-library-example
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls angular2-library-example
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/xxxxx/Documents/workspace/angular2-library-example/npm-debug.log

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