Commit 9f1435e
feat: add NVM Node.js PATH support from PR winfunc#346
- Add else clause to detect NVM Node.js when Claude isn't in NVM
- Automatically find and add latest NVM Node.js version to PATH
- Fix 'env: node: No such file or directory' for npm-local Claude
- Only triggers when Claude NOT in NVM but needs Node from NVM
- Zero impact on other installation types
This resolves PATH issues when opcode launched from /Applications
on macOS with npm-local Claude installations requiring NVM Node.js.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent f13ede1 commit 9f1435e
1 file changed
+32
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
672 | | - | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
673 | 704 | | |
674 | 705 | | |
675 | 706 | | |
| |||
0 commit comments