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.

Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen