Comments (13)
With typescript v5 it fails with the same error when trying to build.
from nestjs-prometheus.
Perhaps VSCode isn't using whatever tsconfig
the runtime is using?
from nestjs-prometheus.
What version of TypeScript?
from nestjs-prometheus.
@willsoto , 4.3.5
from nestjs-prometheus.
4.3.5 is a very old version of TypeScript though. You should try upgrading and, if it's still broken, creating a minimal reproduction or a failing test case.
from nestjs-prometheus.
Agree. I updated TS version. Still see the error, but it's only visible in VSCode, not runtime. Like follows
from nestjs-prometheus.
Try reloading VSCode?
from nestjs-prometheus.
tried already, didn't help though. Weird thing...
from nestjs-prometheus.
Looks like the plugin JavaScript and TypeScript Nightly
works incorrectly. When I turned it off, the problem disappeared (along with some validation hinting though :), but VSC started performing much better).
from nestjs-prometheus.
👍
from nestjs-prometheus.
Please confirm it's not the same issue with the same resolution mentioned here: #1667 (comment)
If you believe it's actually an issue with v5, please open a new issue with a minimal reproduction of the problem.
from nestjs-prometheus.
Please confirm it's not the same issue with the same resolution mentioned here: #1667 (comment)
If you believe it's actually an issue with v5, please open a new issue with a minimal reproduction of the problem.
I have the same problem. This reproduces the problem. I have also fixed the problem and I am making a pull request for it right now.
from nestjs-prometheus.
🎉 This issue has been resolved in version 5.1.1 🎉
The release is available on:
Your semantic-release bot 📦🚀
from nestjs-prometheus.
Related Issues (20)
- Graphql usage. HOT 3
- Use Gauge with collect HOT 4
- how to use with prometheus-gc-stats HOT 1
- how do you inject Pushgateway? HOT 5
- Invalid number of arguments, expected 1..2 HOT 1
- Very long NodeJS event loop lag HOT 2
- NestJS Monorepo app returns 404 error HOT 1
- Issues adding to grafana HOT 3
- http_request_xxx HOT 1
- add support for nestjs v10 HOT 1
- How to inject app/custom dependencies into PrometheusModule HOT 6
- I can't push with pushgateway HOT 15
- Make it possible to inject a dependency into collect function HOT 3
- Metrics not being computed when the application is forked into a child process HOT 5
- Persist Data HOT 1
- Nest can't resolve dependencies of metric providers HOT 12
- [HMR] Error: A metric with the name X has already been registered. HOT 1
- Easy way to exclude PrometheusController from global auth guard? HOT 2
- While using .registerAsync with custom controller, custom controller not working and path is ignored HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nestjs-prometheus.