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

fix: nodejs in web container should be link to /usr/local/bin/node #5774

Merged
merged 2 commits into from Feb 5, 2024

Conversation

rfay
Copy link
Member

@rfay rfay commented Feb 3, 2024

The Issue

Benny pointed out in Discord that while ddev exec node --version works correctly, ddev exec nodejs --version gets the apt-install nodejs version instead.

How This PR Solves The Issue

  • Add a symlink for /usr/local/bin/nodejs
  • Add to docs discouraging use of ddev nvm

Manual Testing Instructions

ddev exec nodejs --version should show the version of nodejs_version configured.

Automated Testing Overview

No changes

Related Issue Link(s)

Release/Deployment Notes

@github-actions github-actions bot added the bugfix label Feb 3, 2024
Copy link

github-actions bot commented Feb 3, 2024

@rfay rfay marked this pull request as ready for review February 4, 2024 14:12
@rfay rfay requested review from a team as code owners February 4, 2024 14:12
@rfay rfay requested review from hanoii and stasadev February 4, 2024 14:27
@vanWittlaer
Copy link
Contributor

Thx @rfay, can confirm its working

pkg/ddevapp/config.go Outdated Show resolved Hide resolved
Co-authored-by: Stanislav Zhuk <stasadev@gmail.com>
@rfay rfay merged commit 9150232 into ddev:master Feb 5, 2024
18 of 19 checks passed
@rfay rfay deleted the 20240203_nodejs_node branch February 5, 2024 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants