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.

Nessuna risposta

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande