Closed semoonpark closed 2 years ago
This might be due to package dependency hoisting with yarn.
You could try installing dotenv
package directly if the error comes up again. The next plugin is importing dotenv/config
but does not have an explicit dependency on it. I'll fix this is a PR.
I think something like this will avoid potential problems in different environments.
Closing this issue as I believe the fix in https://github.com/nrwl/nx/pull/11167 solves this. Please re-open with a reproduction repo if it is still a problem.
@jaysoo It got this in AWS code build : [Container] 2022/07/20 09:31:59 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: nx affected --target=test --base=$LAST_SUCCESSFUL_COMMIT_HASH --head=HEAD. Reason: exit status 1
I used these commands:
build: commands:
date
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
Hello, currently, my project's build is failed in aws codebuild. and the logs are below.
It was built correctly until last Wednesday. Really don't know the reason why.
nx version: 13.10.2
Expected Behavior
Steps to Reproduce
This issue may not be prioritized if details are not provided to help us reproduce the issue.
Failure Logs
Environment