-
Notifications
You must be signed in to change notification settings - Fork 488
Open
Labels
Description
[provide a description of the issue]
Environment
- Operating System: Windows
- JDK version: 11
- Visual Studio Code version: 1.56.2
- Java extension version: v0.79.2
Steps To Reproduce
- git clone https://github.com/redhat-developer/vscode-java.git
- cd vscode-java
- npm run watch-server
I get result:
> [email protected] watch-server
> ./node_modules/.bin/gulp watch_server
'.' is not recognized as an internal or external command,
operable program or batch file.
Running a full path command like
cmd /c c:/dev/temp/vscode-java/node_modules/.bin/gulp dev_server
gives:
C:\Dev\temp\vscode-java>cmd /c c:/dev/temp/vscode-java/node_modules/.bin/gulp dev_server
[18:28:27] Using gulpfile C:\Dev\temp\vscode-java\gulpfile.js
[18:28:28] Starting 'dev_server'...
executing mvnw.cmd -Pserver-distro,fast -o clean package -Denvironment.os=win32 -Denvironment.ws=win32 -Denvironment.arch=x86_64
[18:28:28] 'dev_server' errored after 7.28 ms
[18:28:28] Error: spawnSync C:\WINDOWS\system32\cmd.exe ENOENT
at Object.spawnSync (internal/child_process.js:1070:20)
at spawnSync (child_process.js:597:24)
at Object.execSync (child_process.js:642:15)
at C:\Dev\temp\vscode-java\gulpfile.js:41:5
at dev_server (C:\Dev\temp\vscode-java\node_modules\undertaker\lib\set-task.js:13:15)
at bound (domain.js:429:14)
at runBound (domain.js:442:12)
at asyncRunner (C:\Dev\temp\vscode-java\node_modules\async-done\index.js:55:18)
at processTicksAndRejections (internal/process/task_queues.js:79:11)
I know I can do it all manually, just to let you know