commandpost
commandpost copied to clipboard
Typescript error
I am getting the following error:
TypeScript error: node_modules/commandpost/index.d.ts(1,15): Error TS2307: Cannot find module './lib'.
When compiling a project that has indirect dependencies on commandpost. Is it possible to express this path in a different way? I am not sure it is a commandpost issue, but I have no idea of how to get rid of it otherwise.
Which version of tsc do you use? commandpost is works fine in my project. e.g. https://github.com/vvakame/typescript-formatter I want to see your project. Is it possible?
I am actually using typescript-formatter in my project (private one, sorry). These are the versions I am using:
├─┬ [email protected]
│ ├── [email protected]
And using tsify to compile the project, which has the following versions (which includes typescript's tsc version, at 1.8.7):
├─┬ [email protected]
│ ├── [email protected]
│ └── [email protected]
umm... please try to add typescript dependency to your devDependencies.
Just did that, same result :/
On 13 July 2016 at 11:59, Masahiro Wakame [email protected] wrote:
umm... please try to add typescript dependency to your devDependencies.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vvakame/commandpost/issues/2#issuecomment-232311668, or mute the thread https://github.com/notifications/unsubscribe/AAB2vDoqdIPVN_u0mCoYtFP0GQoabqWhks5qVLcZgaJpZM4JJUVA .
https://gist.github.com/vvakame/d606a83767959473d8a90f5facde8919 Is this gist works fine? please try it.