cannot find module './aws-exports'

0

Hi All,

I am trying to use AWS pinpoint for analytics purpose for my angular application.

I followed all the steps but when I am using the below line to import the awsconfig.I am getting the error that

import awsconfig from './aws-exports';

I tried adding '.js' extension as well but there's no difference. could anyone help me with this.

Just for the information when I am using the same with the React application it is working perfectly.

Thank you in advance.

No hay respuestas

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas