typed-typings / npm-lodash

The type definition for https://github.com/lodash/lodash
MIT License
16 stars 22 forks source link

test fail related to blue-tape #3

Closed unional closed 8 years ago

unional commented 8 years ago
> typings bundle . -o bundle.d.ts

----------------------------------
⨯ Unable to compile TypeScript

typings/main/definitions/blue-tape/blue-tape.d.ts (9,26): Cannot find module 'stream'. (2307)

@blakeembrey , I'll add tests to npm-blue-tape. Maybe 2nd resolution fails (npm-lodash => npm-blue-tape => npm-tape)?

unional commented 8 years ago

This might be closely related to https://github.com/typings/typings/issues/281?

princjef commented 8 years ago

I have also run into this issue when i have dependencies that themselves have other ambient dependencies. For instance, if you do typings install --ambient express, it will not install any of its dependencies, such as node or serve-static. The only solution I've found is to do typings install --ambient --save <package> on whatever dependencies it can't resolve

blakeembrey commented 8 years ago

@unional typings install node -SA. Need better logging for the "ambient modules" that are expected during installation.

unional commented 8 years ago

-SD in this case. :)

blakeembrey commented 8 years ago

Actually, -DA for --save-dev --ambient :smile:

unional commented 8 years ago

OH YEAH! :stuck_out_tongue_closed_eyes:

unional commented 8 years ago

Also thanks @princjef for pointing it out.