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

app won't boot after using this module in express as middleware #1

Open
TdevM opened this issue Mar 27, 2020 · 0 comments
Open

app won't boot after using this module in express as middleware #1

TdevM opened this issue Mar 27, 2020 · 0 comments

Comments

@TdevM
Copy link

TdevM commented Mar 27, 2020

dependency version details:

"typescript": "^3.7.5"
"express-universal-analytics": "^0.4.0",

Error stack trace:

node_modules/express-universal-analytics/dist/index.d.ts:11:16 - error TS2665: Invalid module name in augmentation. Module 'universal-analytics' resolves to an untyped module at '/Users/tdevm/WebstormProjects/dukaan-backend/node_modules/universal-analytics/index.js', which cannot be augmented.

11 declare module 'universal-analytics' {
                  ~~~~~~~~~~~~~~~~~~~~~

Complete error stack:
https://gist.github.com/TdevM/f6a64340237aa83b07ebee001040c823

@TdevM TdevM changed the title cannot boot app after using this module in express as middleware app won't boot after using this module in express as middleware Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant