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
Can't call a library in a plugin from the same workspace #6712
Comments
Hi, it seems like your repo only has the initial commit with no apps or libs added. Can you update it please? 🙏 |
Yeah sorry about that 😅. It should be all good now. |
Hey, I've been searching for a solution for my issue and i've found that the problem don't seems to be directly link to nx. The error occurs when node try to require the lib using |
I am also able to reproduce this issue... So it seems we are not able to get all the benefits of a monorepo for plugins which is really a shame 😭 |
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. |
It is a crucial feature for my use of Nx... |
@FrozenPandaz can you now remove the blocked label? The author provided a way to test since quite a long time |
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. |
@FrozenPandaz ? 😣 |
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 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 automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. |
🍀🤞 |
Hello, same issue here ! 🙏 |
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 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 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 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 automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. |
@Arcahub may you create a new issue to track this? I think the very old wrong label regarding the reproduction is likely to make this issue not important whereas in my point view, it is critical... |
This should be fixed as part of #9116 |
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 can't use a library in a plugin of the same workspace
Expected Behavior
I should be able to use a library in a plugin of the same workspace
Example:
I create a @nrwl/nx-plugin and i want to use its generator in another @nrwl/nx-plugin
I create a @nrwl/node library and i want to use its function in a @nrwl/nx-plugin
Steps to Reproduce
Clone this repo
Run the following commands:
yarn
yarn run nx build plugin-app
yarn run nx generate ./dist/libs/plugin-app:plugin-app
Failure Logs
Environment
The text was updated successfully, but these errors were encountered: