You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
XXX:angular2-library-example xxx $ npm run build
> [email protected] 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! [email protected] build: `rm -rf lib && tsc -p src`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] 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
The text was updated successfully, but these errors were encountered:
Thanks @xaun , that works for the main library.. about the examples know how to fix? when i run npm start on webpack example, It shows a lot of errors, for instance: examples/webpack/node_modules/angular2/src/platform/dom/dom_adapter.d.ts (85,42): error TS2304: Cannot find name 'Map'.
The text was updated successfully, but these errors were encountered: