Skip to content

An error "Unknown parameter structure byName..." occurs in the "Dockerfile Language Server" output panel #2601

@v-ruizh

Description

@v-ruizh

OS: Windows 10
Build Version: 20210106.8

Repro Steps:

  1. Create a .NET Core Console project.
  2. Add Docker files to it.
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions