-
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
NX MF build failing with ENOENT: no such file or directory, scandir '' #27989
Comments
@vaclav-antosik Can you run This seems to be an external issue from Nx, but I'll see what I can do about it |
FYI , I have tried the same build using Nx 19.6.5 and it worked. Build at: 2024-09-19T12:02:38.786Z - Hash: 6ffc595629eebbe8 - Time: 9211ms NX Successfully ran target build for project login PS C:\Workspaces\temp\nx-ng-dyn-fed> nx report NX Report complete - copy this into the issue template Node : 22.3.0 nx (global) : 19.7.4
|
Yeah there's a correlation between the issue and the |
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
Creating vanilla workspace in version 19.7.4 adding MF Angular host application and doing production build leads into error -> ENOENT: no such file or directory, scandir '' and there is no "dist" directory created.
Commands I'm running:
npx create-nx-workspace@latest my-workspace10
npm install --save-dev @nx/angular
npx nx g @nx/angular:host host
npx nx build host
It was working before. I reproduced those commands using version 18.3.1 and it works.
Same behavior was observed on another 2 windows machines (I asked colleagues to try).
Expected Behavior
Build should be successful and "dist" folder should be created with bundles.
GitHub Repo
No response
Steps to Reproduce
1, npx create-nx-workspace@latest my-workspace10
2, npm install --save-dev @nx/angular
3, npx nx g @nx/angular:host host
4, npx nx build host
Nx Report
Failure Logs
Package Manager Version
npm version 10.8.3
Operating System
Additional Information
Exactly same steps repeated for nx version 18.3.1 works.
The text was updated successfully, but these errors were encountered: