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

Problem with express typing #36

Closed
mgween opened this issue May 6, 2017 · 4 comments
Closed

Problem with express typing #36

mgween opened this issue May 6, 2017 · 4 comments

Comments

@mgween
Copy link

mgween commented May 6, 2017

Following along with the Setup Application instructions, when I add express I get the error upon typescript compilation:
node_modules/nest.js/core/middlewares/interfaces/nest-middleware.interface.d.ts(1,1): error TS2688: Cannot find type definition file for 'express'.

I used npm install --save-dev @types/express to add the typing and now I get the error:
index.ts(1,8): error TS1192: Module '"C:/Users/Matt/dev/tests/nest-test/node_modules/@types/express/index"' has no default export.

@ScottMGerstl
Copy link

Same issue. I tried looking at the example in the repo. but there are imports from all over.

kamilmysliwiec pushed a commit that referenced this issue May 6, 2017
@kamilmysliwiec
Copy link
Member

Hi @mgween, @ScottMGerstl

You're right. Thanks for reporting. Please, update your packages into 1.0.4 version.

@mgween
Copy link
Author

mgween commented May 6, 2017

Thanks so much.

@lock
Copy link

lock bot commented Sep 25, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Sep 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants