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

Cannot find module '@nx/workspace/src/executors/run-commands/run-commands.impl' #147

Closed
bliuk opened this issue Aug 31, 2023 · 1 comment

Comments

@bliuk
Copy link

bliuk commented Aug 31, 2023

Since nx 16.x @nx/workspace/src/executors/run-commands/run-commands.impl has been refactored, it has to be changed to the new one nx/src/executors/run-commands/run-commands.impl.
Please check the following patch:

diff --git a/node_modules/@nx-extend/e2e-runner/src/executors/run/run.impl.js b/node_modules/@nx-extend/e2e-runner/src/executors/run/run.impl.js
index 7b70746..52b598c 100644
--- a/node_modules/@nx-extend/e2e-runner/src/executors/run/run.impl.js
+++ b/node_modules/@nx-extend/e2e-runner/src/executors/run/run.impl.js
@@ -41,7 +41,7 @@ function endToEndRunner(options, context) {
             }
             else if (runner === 'run-commands') {
                 // eslint-disable-next-line @typescript-eslint/no-var-requires
-                const runCommandsExecutor = require('@nx/workspace/src/executors/run-commands/run-commands.impl').default;
+                const runCommandsExecutor = require('nx/src/executors/run-commands/run-commands.impl').default;
                 success = (yield runCommandsExecutor(rest, context)).success;
             }
             else {
@TriPSs
Copy link
Owner

TriPSs commented Aug 31, 2023

Thanks for reporting!

@TriPSs TriPSs closed this as completed in d239992 Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants