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.

沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南