Closed victorbojica closed 1 year ago
Solved. The issue was happening because of @nrwl/gatsby. After chainging and updating to latest version of @nx/gatsby the issue has been fixed.
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
Running
nx serve <app>
ornx build <app>
on a react/node app throws the following error:> NX ERROR The "path" argument must be of type string. Received undefined
So far these are the commands that throw the error - there might be other commands, but ahven't checked.
The error message is all the info i have. Adding
--verbose
doesn't show anything else. Logs also don't show anything else.This happened after migrating from
15.8.1
to latest version (16.5.2
)Expected Behavior
The commands should run sucessfully.
GitHub Repo
No response
Steps to Reproduce
16.5.2
NX versionrun nx build <app>
Nx Report
Failure Logs
No response
Operating System
Additional Information
Package.json dependencies: