These are chat archives for AngularClass/angular2-webpack-starter

16th
May 2016
Dmitry Erzunov
@derzunov_twitter
May 16 2016 21:00
hi everybody! I try to install typings, and get error with zone.js >> typings ERR! message Attempted to compile "zone.js" as an external module, but it looks like a global module.
Help me please! What am I doing wrong? Osx, nodejs 4
falconmick
@falconmick
May 16 2016 21:06
What exactly did you type, do you have a log?
Dmitry Erzunov
@derzunov_twitter
May 16 2016 21:07
sudo typings install

derzunov:angular2-webpack-starter derzunov$ sudo typings install
typings ERR! message Attempted to compile "zone.js" as an external module, but it looks like a global module.

typings ERR! cwd /Users/derzunov/projects/Angular2/angular2-webpack-starter
typings ERR! system Darwin 15.4.0
typings ERR! command "/usr/local/bin/node" "/usr/local/bin/typings" "install"
typings ERR! node -v v4.4.4
typings ERR! typings -v 1.0.2

typings ERR! If you need help, you may report this error at:
typings ERR! https://github.com/typings/typings/issues

falconmick
@falconmick
May 16 2016 21:28
Hmm.. Sorry never seen that before and I'm not on a mac/Linux. Maybe open a ticket with typings?
Di you need elevated permissions to install? Try without sudo maybe?
Do*
Dmitry Erzunov
@derzunov_twitter
May 16 2016 21:36
Try without sudo maybe? No, it's not working) Thanks, @falconmick !
Graham Churchley
@gchurchley
May 16 2016 23:09
I'm publishing angular2 components to the npm registry. Can anybody point me to an example of packaging using TypeScript? I'm specifically interested in how to create barrels. I have a dozen components and I want them to be packaged as three barrels.