Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

angular accidentally calls a method in the project's two-party library #54804

Closed
tmx-502 opened this issue Mar 11, 2024 · 3 comments
Closed

angular accidentally calls a method in the project's two-party library #54804

tmx-502 opened this issue Mar 11, 2024 · 3 comments
Labels
needs reproduction This issue needs a reproduction in order for the team to investigate further

Comments

@tmx-502
Copy link

tmx-502 commented Mar 11, 2024

Which @angular/* package(s) are the source of the bug?

core

Is this a regression?

Yes

Description

My project is angular15, using two-party library for angular13, because using npm i --legacy-peer-deps installation, so in node_modules two-party library shared the parent project angular15 dependencies, The setDisabledState method in the two-party library was accidentally called when the project was running, causing an internal error in my two-party library that the image could not be served due to network problems. After I changed the name of the setDisabledState method in the two-party library code, the program returned to normal. I suspect that there is a problem with angular's code isolation. Is it because my two-party library is referencing a dependency in @angular/core that calls an external setDisabledState method? Because I see a lot of setDisabledState calls in angular15.

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

No response

Please provide the environment you discovered this bug in (run ng version)

_                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
    

Angular CLI: 15.2.10
Node: 20.11.0 (Unsupported)
Package Manager: npm 10.2.4
OS: win32 x64

Angular: 15.2.10
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1502.10
@angular-devkit/build-angular   15.2.10
@angular-devkit/core            15.2.10
@angular-devkit/schematics      15.2.10
@angular/cdk                    15.2.9
@schematics/angular             15.2.10
rxjs                            6.6.7
typescript                      4.9.5

Anything else?

3

@alxhub alxhub added the needs reproduction This issue needs a reproduction in order for the team to investigate further label Mar 11, 2024
@alxhub
Copy link
Member

alxhub commented Mar 11, 2024

I don't think we'll be able to investigate this issue unless you're able to provide a minimal reproduction of the problem, unfortunately.

@alxhub
Copy link
Member

alxhub commented Mar 22, 2024

Closing as no reproduction was provided.

@alxhub alxhub closed this as not planned Won't fix, can't repro, duplicate, stale Mar 22, 2024
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Apr 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs reproduction This issue needs a reproduction in order for the team to investigate further
Projects
None yet
Development

No branches or pull requests

2 participants