-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
publishable lib - import not found #18349
Comments
Have this issue as well. But also this type of error |
@vincent-thomas and anyone else, is it possible that your related: #11289 For anyone having that error, solution: #17798 (comment) |
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
I have an integrated monorepo with some publishable libraries that have dependencies between them, when I try to run affected:build in github action some dependencies declared as peerDependencies are not built before the dependent libraries, so I get an error like this
cannot find module '@my-org/package-lib' or its corresponding type declarations.
.I've tried applying different solutions but they don't work correctly, my current command in the github action is:
npx nx affected -t build --parallel=3 --with-deps
.In each package.json of the libraries I have declared the modules as
peerDependencies
.Can someone help me with this problem, I haven't found any information about it.
Expected Behavior
Affected can parse all dependencies and detect those that are in the monorepo by first running the build of the dependencies.
GitHub Repo
No response
Steps to Reproduce
b
and thena
.Nx Report
Failure Logs
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: