Skip to content

Property 'ɵɵngDeclareFactory' does not exist on type 'typeof import("c:/Users/xxx/Desktop/xxx/node_modules/@angular/core/core")'.ts(2339) #8

@hathemi

Description

@hathemi

i’m using this package in may ionic project.
npm i intl-input-phone@0.0.9
after i had followed the instruction i’ve got this error

C:/Users/xxx/Desktop/xxxxxxxx/node_modules/intl-input-phone/fesm2015/intl-input-phone.js:354 Uncaught TypeError: Cannot read properties of undefined (reading ‘Injectable’)

/** @nocollapse */ ConfigurationOptions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: ConfigurationOptions, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
any idea on how to fix this error ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions