Angular-v3 icon indicating copy to clipboard operation
Angular-v3 copied to clipboard

Cannot use v3 in Angular 17 project

Open iTchTheRightSpot opened this issue 1 year ago • 0 comments

Have you read our Code of Conduct? By filing an Issue, you are expected to comply with it, including treating everyone with respect

Do you want to ask a question? Are you looking for support? The developer slack is the best place for getting support

Description

I am following Using Flutterwave as a Component Method 2 in the readme. My project is using Angular 17. After following the instructions (NB: If you experience compilation errors in your app after importing the Flutterwave module, component or service. Kindly include the following line in tsconfig.app.json under compilerOptions :) I get the error Error: src/app/store-front/payment/payment/payment.component.ts:8:27 - error NG2012: Component imports must be standalone components, directives, pipes, or must be NgModules.. I followed the readme

image

Steps to Reproduce

  1. Import FlutterwaveModule to the choice of standalone component.
  2. Run ng serve and error would be reproduced

Expected behaviour:

Display component button

Actual behaviour:

image

Configuration

  • API Version: v3
  • Environment:
  • Browser:
  • Language:

Additional Information

iTchTheRightSpot avatar Dec 20 '23 03:12 iTchTheRightSpot