Closed lashchev closed 7 months ago
You've got the wrong project. Your code is measuring the startup time for nvm-sh. It even says so in the example code.
Furthermore, nvm-windows doesn't load anything because it's not a shim. When you call node/npm, you're calling node.exe
directly. The only time nvm-windows does anything is when you run nvm <command>
.
What I suspect you're doing is running nvm-sh in WSL. Perhaps that is trying to launch the WSL environment before it runs nvm... I really don't know. It looks like you ran nvm debug
in the standard terminal... so technically you ran one program and produced debugging output for a different program.
I'm closing this because it looks like this is an nvm-sh issue or a WSL issue, not an nvm-windows issue.
What happened?
Git Bash from Git for Windows 2.43.0.1 / Win 11
.bash_profile:
Output on session start:
Starting NVM took 10.343 seconds.
What did you expect to happen?
Start time should be sub-second
Version
1.1.11 or newer (Default)
Which version of Windows?
Windows 11+
Which locale?
None
Which shell are you running NVM4W in?
Other
User Permissions?
Standard Use, Non-Elevated
Is Developer Mode enabled?
No (Default)
Relevant log/console output
No response
Debug Output
Anything else?
No response