PatrickAlphaC/fund-me-fcc

Error: File import callback not supported

Ashutsoh1729 opened this issue · 3 comments

I have copy pasted the given code in this course and my code editor shows an error.
Screenshot 2022-10-25 at 9 56 15 PM
The same problem with the PriceConverter file
Screenshot 2022-10-25 at 9 57 21 PM

Hey there, please try installing all the dependancies in the package.json file with yarn or npm. You will need @chainlink/contracts package in this specific case

via Yarn

yarn add @chainlink/contracts

via npm

npm install @chainlink/contracts --save

via Yarn

yarn add @chainlink/contracts

via npm

npm install @chainlink/contracts --save

This worked for me! Thanks! 😁