Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

217
Views
¿Qué significa este error? Esto se produjo mientras se ejecutaba un módulo nestjs creado.

este error se produjo después de ejecutar npm run start:dev ¿No entendí lo que significa?

 import { Injectable } from "@nestjs/common"; import { User } from "./users.model"; @Injectable export class UsersService{ users : Array<User>=[] getUsers(){ return this.users; } }

ingrese la descripción de la imagen aquí

about 4 years ago · Juan Pablo Isaza
3 answers
Answer question

0

Esto es quizás un error tipográfico. @Injectable en lugar de @Injectable() .

about 4 years ago · Juan Pablo Isaza Report

0

import { Injectable } from "@nestjs/common"; import { User } from "./users.model"; @Injectable() export class UsersService { users: Array<User> = []; getUsers() { return this.users; } }

El decorador debe corregirse a @Injectable().

about 4 years ago · Juan Pablo Isaza Report

0

Error de sintaxis

Tienes: @Injectable

Necesario: @Injectable()

Ejemplo :

https://docs.nestjs.com/providers

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!