Cannot find module 'routing-controllers'.
See original GitHub issueHey there. I’m trying to use routing-controllers in my project; however, after following the instructions in README.md, I get a error TS2307: Cannot find module 'routing-controllers'. wherever I try to use it, e.g. `import { Controller, Param, Body, Get, Post, Put, Delete, Req, Res } from “routing-controllers”;``
I’m on node v7 and TypeScript 2.0.10. Not sure what I am doing wrong though… routing-controllers folder is correctly in my node_modules folder.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top Results From Across the Web
routing-controllers - npm
Start using routing-controllers in your project by running `npm i ... options for validation (groups, skipping missing properties, etc.) ...
Read more >Cannot find module for routes - Stack Overflow
I'm getting the error: Cannot find module '.app/routes/favourite.routes' and I'm not sure why this error is occuring.
Read more >Introduction to Routing-Controllers - Web dev etc
Routing Controllers is a framework for building backend applications in Node. It is quite lightweight, easy to learn and pleasant to use.
Read more >Understanding controllers and routes in NestJS
Let's take a look at NestJS routes and controllers, including what they do, how they work, and advanced use cases.
Read more >routing-controllers@0.10.0 - jsDocs.io
Documentation for npm package routing-controllers@0.10.0 - jsDocs.io. ... This requires installation of additional module (cors for express ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I have found the same problem. I am migrating a project from JS to TypeScript, and I had the
allowJsconfig enabled in my tsconfig.json:I don’t know why this only happens when using
routing-controllers. I am already using TypeORM with theallowJsoption enabled without problems. This error only happened after installing this package.This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.