Skip to content

Stencil: Upgrade dependencies with NX leads to -> (0 , buildable_libs_utils_1.checkDependentProjectsHaveBeenBuilt) is not a function #1180

@andberg

Description

@andberg

Describe the bug
As I upgraded our teams project I now am struggling with an issue while serving the library.

NX   (0 , buildable_libs_utils_1.checkDependentProjectsHaveBeenBuilt) is not a function
TypeError: (0 , buildable_libs_utils_1.checkDependentProjectsHaveBeenBuilt) is not a function
    at runExecutor_1 

Seems to be similar to this one #1176 with regards to that the naming has changed.

@nxext/stencil/src/executors/serve/executor.js is calling checkDependentProjectsHaveBeenBuilt from @nx/js/src/utils/buildable-libs-utils, but there is no function there with that name. It now seems to now be called calculateProjectBuildableDependencies (I'm guessing).

To Reproduce
Steps to reproduce the behavior:

Expected behavior
Since I have upgraded to NX 20.x.x and if I read your documentation correctly you also have NX 20.x.x and it should work as expected.
Or have I missed something? Am a bit new to managing such a large Monorepo 🙈

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions