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 Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions