-
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 doesn't do correct node resolution #3909
Comments
@bekos do you think your work on yarn2 addressed this? |
Yes, it should. @mhamri from the error message you get, it seems that you are using an older version of Nx. Can you update your global packages to latest and try again? |
@bekos let me try, I will update in here |
@bekos it exits without any error in the picture, i'm in then if I go to app folder and run just note that I don't have node install globally. so meaning the npm is being read from 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. |
angular/angular-cli#3864
it's like Deja Vu, this issue just recently resolved in angular cli, now nx suffer from the same.
when node_module is in upper folder (mainly because of docker) the nx or any cli which is invoked by npm, should be able to traverse the folders and find the node_modules and use that folder as the node_module.
Current Behavior
Expected Behavior
work like any other correct nodejs app. resolve to upper folder
Steps to Reproduce
move node_module to upper folder and try to run npm start.
Failure Logs
Environment
can't because nx doesn't work as it should
The text was updated successfully, but these errors were encountered: