Skip to content

[email protected] asking for react packages #143

@joaomsrodrigues21

Description

@joaomsrodrigues21

Hi,

after upgrade my angular app to @angular/[email protected] and angular-email-editor to v15.2.0 it is asking for react packages during build:

`Error: node_modules/unlayer-types/embed.d.ts:2823:38 - error TS2307: Cannot find module 'react' or its corresponding type declarations.

2823 import React, { RefObject } from 'react';`

On package-lock.json I have:
"node_modules/angular-email-editor": { "version": "15.2.0", "resolved": "https://registry.npmjs.org/angular-email-editor/-/angular-email-editor-15.2.0.tgz", "integrity": "sha512-vi3LjMgL5uNRi0A59yPf4atJSzZNfrvZuvB6NyA/oA/+Emole1aH9KSZtsq0OhX8N29dZ24oSC5htahbEESWZA==", "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { "unlayer-types": "^1.33.0" } },

Why is it asking for react packages when I'm using it in angular? Should I install any other packages?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions