DefinitelyTyped / tsd

[DEPRECATED] TypeScript Definition manager for DefinitelyTyped
Apache License 2.0
1.12k stars 135 forks source link

tsd query angular2 returns zero results #273

Closed siulm closed 8 years ago

siulm commented 8 years ago

Running tsd install angular2 es6-promise rx rx-lite

installs es6-promise rs and rx-lite but not angular2

running: tsd install angular2 or tsd query angular2 --save --action install --resolve returns zero results.

can you help?

blakeembrey commented 8 years ago

Angular 2 typings are provided as part of the NPM module, why do you need to install them with TSD?

rodrigoEclipsa commented 8 years ago

There are currently no angular2.d.ts in node_modules / angular2 / typings

siulm commented 8 years ago

Thanks. I did not know that at the time I sent you the message. But did my leg work and I learn it. Thanks for taking your time. On Feb 13, 2016 3:38 PM, "rodrigo" notifications@github.com wrote:

There are currently no angular2.d.ts in node_modules / angular2 / typings

— Reply to this email directly or view it on GitHub https://github.com/DefinitelyTyped/tsd/issues/273#issuecomment-183750998 .

dawidk92 commented 8 years ago

+1

dawidk92 commented 8 years ago

@siulm have you resolved this somehow?

siulm commented 8 years ago

David hi. Yes.

Blake said: Angular 2 typings are provided as part of the NPM module.

He was right. I found it on line and Blake was nice to confirm it. Once you install Angular2 with npm, The problem goes away. All the tsd is part of the node modules

I hope this helps

Luis On Feb 24, 2016 3:38 PM, "Dawid Krajewski" notifications@github.com wrote:

@siulm https://github.com/siulm have you resolved this somehow?

— Reply to this email directly or view it on GitHub https://github.com/DefinitelyTyped/tsd/issues/273#issuecomment-188446024 .

RajenRanjith commented 8 years ago

Yes,

Still i face the same problem like:

src/app/app.ts(1,36): error TS2307: Cannot find module 'angular2/angular2'. 5:47:02 PM - Compilation complete. Watching for file changes.

How to solve this, anyone please help me..

lholznagel commented 8 years ago

Try this in your bootstrap file: ///<reference path="../node_modules/angular2/typings/browser.d.ts"/>

I think it was in a recent update that they changed something with the typings

siulm commented 8 years ago

If I am not mistaken, it should be angular2/core instead of angular2/angular2.

Hope that helps. On Mar 21, 2016 8:17 AM, "RajenRanjith" notifications@github.com wrote:

Yes,

Still i face the same problem like:

src/app/app.ts(1,36): error TS2307: Cannot find module 'angular2/angular2'. 5:47:02 PM - Compilation complete. Watching for file changes.

How to solve this, anyone please help me..

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/DefinitelyTyped/tsd/issues/273#issuecomment-199247487

vinothbabu commented 8 years ago

tsd query angular2/core also returns zero results...

siulm commented 8 years ago

Have done a 'npm install angular2'

That should install all requirements for angular 2. Typings will be part of it On Mar 25, 2016 6:10 PM, "Vinothbabu" notifications@github.com wrote:

tsd query angular2/core also returns zero results...

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/DefinitelyTyped/tsd/issues/273#issuecomment-201543193

Jenan commented 8 years ago

I don't find angular2.d.ts as part of package via NPM.

Is exists any solution for this issue? Thanks.

lentebloem commented 8 years ago

I installed tsd via npm, yet angular2 is still not found. Does anyone know how to solve this issue? Thank you!

blakeembrey commented 8 years ago

See https://github.com/DefinitelyTyped/tsd/issues/273#issuecomment-181607758