OS: Windows 10
Build Version: 20210106.8
Repro Steps:
- Create a .NET Core Console project.
- Add Docker files to it.
- Open Dockerfile and check the "Dockerfile Language Server" output panel.
Expect:
There is no error in the "Dockerfile Language Server" output panel.
Actual:
An error "Unknown parameter structure byName..." occurs in the "Dockerfile Language Server" output panel.
(node:13968) UnhandledPromiseRejectionWarning: Error: Unknown parameter structure byName
at computeSingleParam (c:\Users\AzureTest.vscode-insiders\extensions\ms-azuretools.vscode-docker-1.9.5-alpha\dist\dockerfile-language-server-nodejs\lib\server.js:1:211247)
at computeMessageParams (c:\Users\AzureTest.vscode-insiders\extensions\ms-azuretools.vscode-docker-1.9.5-alpha\dist\dockerfile-language-server-nodejs\lib\server.js:1:211410)
at Object.sendNotification (c:\Users\AzureTest.vscode-insiders\extensions\ms-azuretools.vscode-docker-1.9.5-alpha\dist\dockerfile-language-server-nodejs\lib\server.js:1:212089)
at Object.sendDiagnostics (c:\Users\AzureTest.vscode-insiders\extensions\ms-azuretools.vscode-docker-1.9.5-alpha\dist\dockerfile-language-server-nodejs\lib\server.js:1:292320)
at c:\Users\AzureTest.vscode-insiders\extensions\ms-azuretools.vscode-docker-1.9.5-alpha\dist\dockerfile-language-server-nodejs\lib\server.js:1:16962
(node:13968) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:13968) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
OS: Windows 10
Build Version: 20210106.8
Repro Steps:
Expect:
There is no error in the "Dockerfile Language Server" output panel.
Actual:
An error "Unknown parameter structure byName..." occurs in the "Dockerfile Language Server" output panel.
(node:13968) UnhandledPromiseRejectionWarning: Error: Unknown parameter structure byName
at computeSingleParam (c:\Users\AzureTest.vscode-insiders\extensions\ms-azuretools.vscode-docker-1.9.5-alpha\dist\dockerfile-language-server-nodejs\lib\server.js:1:211247)
at computeMessageParams (c:\Users\AzureTest.vscode-insiders\extensions\ms-azuretools.vscode-docker-1.9.5-alpha\dist\dockerfile-language-server-nodejs\lib\server.js:1:211410)
at Object.sendNotification (c:\Users\AzureTest.vscode-insiders\extensions\ms-azuretools.vscode-docker-1.9.5-alpha\dist\dockerfile-language-server-nodejs\lib\server.js:1:212089)
at Object.sendDiagnostics (c:\Users\AzureTest.vscode-insiders\extensions\ms-azuretools.vscode-docker-1.9.5-alpha\dist\dockerfile-language-server-nodejs\lib\server.js:1:292320)
at c:\Users\AzureTest.vscode-insiders\extensions\ms-azuretools.vscode-docker-1.9.5-alpha\dist\dockerfile-language-server-nodejs\lib\server.js:1:16962
(node:13968) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag
--unhandled-rejections=strict(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)(node:13968) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.