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
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\cowen\AppData\Roaming\npm-cache_logs\2021-02-05T00_02_33_429Z-debug.log
The terminal process "C:\WINDOWS\System32\cmd.exe /d /c npm run "start:desktop -- --app excel"" terminated with exit code: 1.
The problem doesn't look to be with the task in task.json as we can invoke this separately with no problems. Rather it appears to be an issue with the interaction between our launch.json config and tasks.json, presumably with the preLaunchTask option in launch.json.
We use these debug configs extensively in our project templates for Microsoft Office Add-in projects. These templates are used by many, many customers of Microsoft so we will surely hear from some of them in the near future when they encounter this issue.
I work on the Microsoft Office Platform Extensibility team, so please feel free to reach out to me for more information.
Thanks,
Courtney Owen
SWE, OPX Team
The text was updated successfully, but these errors were encountered:
The problem doesn't look to be with the task in task.json as we can invoke this separately with no problems. Rather it appears to be an issue with the interaction between our launch.json config and tasks.json, presumably with the preLaunchTask option in launch.json.
But I don't know why there would be a difference in how the task is invoked by itself vs as part of a launch config
We noticed after upgrading to VS Code 1.53.0 that our launch.json debug configs no longer work. Our debug configs invoke tasks defined in tasks.json.
Our launch.json config is as follows:
And the prelaunchTask is defined in tasks.json as follows:
When we try to initiate the Excel Desktop (Edge Chromium) debug config, we get the following error:
npm ERR! missing script: start:desktop -- --app excel
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\cowen\AppData\Roaming\npm-cache_logs\2021-02-05T00_02_33_429Z-debug.log
The terminal process "C:\WINDOWS\System32\cmd.exe /d /c npm run "start:desktop -- --app excel"" terminated with exit code: 1.
The problem doesn't look to be with the task in task.json as we can invoke this separately with no problems. Rather it appears to be an issue with the interaction between our launch.json config and tasks.json, presumably with the preLaunchTask option in launch.json.
We use these debug configs extensively in our project templates for Microsoft Office Add-in projects. These templates are used by many, many customers of Microsoft so we will surely hear from some of them in the near future when they encounter this issue.
I work on the Microsoft Office Platform Extensibility team, so please feel free to reach out to me for more information.
Thanks,
Courtney Owen
SWE, OPX Team
The text was updated successfully, but these errors were encountered: