Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dts 1.0.7 'file not found' #269

Closed
codyjs opened this issue Jun 23, 2016 · 4 comments
Closed

dts 1.0.7 'file not found' #269

codyjs opened this issue Jun 23, 2016 · 4 comments
Labels
Milestone

Comments

@codyjs
Copy link

codyjs commented Jun 23, 2016

Expected Behavior

Transpiling code which depends on inversify-express-utils.d.ts should work

Current Behavior

Transpilation fails due to error in .d.ts

Possible Solution

Remove unnecessary /// <reference /> tag here:
https://github.com/inversify/inversify-dts/blob/master/inversify-express-utils/inversify-express-utils.d.ts#L6

Steps to Reproduce (for bugs)

After attempting to update inversify-express-example with most recent inversify-dts and inversify-express-utils, running ts-node BasicExample/bootstrap produced the error

Context

Your Environment

  • Version used: inversify-express-utils: 1.0.0-beta.2; inversify-dts 1.0.7

Stack trace

node_modules\inversify-dts\inversify-express-utils\inversify-express-utils.d.ts (6,1): File 'C:/Users/Cody/projects/inversify-express-example/node_modules/inversify-dts/typings/index.d.ts' not found. (6053)
@lholznagel
Copy link
Contributor

Interesting, just updated the example. The only problem was that I forgot to install inversify-dts. After installing it all worked

@lholznagel
Copy link
Contributor

Oh, now I see the problem, forgot to take a look if the server starts. When I try to start it I get the same message.

@remojansen
Copy link
Member

Hi guys, thanks for all the work! I merged https://github.com/inversify/inversify-dts/pull/5 and released inversify-dts@1.0.8 please let me know if this issue can be closed.

@remojansen remojansen added the bug label Jun 23, 2016
@remojansen remojansen added this to the 2.0.0-rc.1 milestone Jun 23, 2016
@lholznagel
Copy link
Contributor

In the express example everything works :)

@remojansen remojansen mentioned this issue Jun 23, 2016
18 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants