Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

142
Vistas
Hosting Angular app on Vercel with dependencies

I get the following error when trying to host my Angular application on Vercel:

Error: src/app/spotify.service.ts:25:32 - error TS2339: Property 'spotifyApiKey' does not exist on type '{ production: boolean; }'.

This makes sense since the property spotifyApiKey is set by a JavaScript script that is called in package.json. So my question is how do I tell Vercel to first run the commands in the package.json file?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

This makes sense since the property spotifyApiKey is set by a JavaScript script that is called in package.json.

Okay, but you haven't properly typed it. The type should be:

{ production: boolean, spotifyApiKey: string }

Yes the key may be inserted later, but you need to clarify that the property exists.

It's also possible you need to change some other code but since you haven't posted at least the service we can't help you further.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda