You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I set up a simple workflow:
- uses: actions/setup-node@v4
- name: node version
run: node -v
It then has the error:
Run node -v
node -v
shell: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXE -command ". '{0}'"
Refreshing environment variables from the registry for powershell.exe. Please wait...
Finished
node : The term 'node' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\actions-runner_work_temp\ccd1c392-40b0-4647-8d9b-6d156a848202.ps1:2 char:1
The text was updated successfully, but these errors were encountered:
denny-snapone
changed the title
Cannot run find node in Path variable on Windows Runner 22
Cannot find nodejs in Path variable on Windows Runner 22
Sep 12, 2024
I set up a simple workflow:
- uses: actions/setup-node@v4
- name: node version
run: node -v
It then has the error:
Run node -v
node -v
shell: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXE -command ". '{0}'"
Refreshing environment variables from the registry for powershell.exe. Please wait...
Finished
node : The term 'node' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\actions-runner_work_temp\ccd1c392-40b0-4647-8d9b-6d156a848202.ps1:2 char:1
Error: Process completed with exit code 1.
I check the $env:Path don't have the node path.
The text was updated successfully, but these errors were encountered: