Skip to content

package.json browser field cannot be converted in acquireWebNodePaths #165162

@yiliang114

Description

@yiliang114

Does this issue occur when all extensions are disabled?: Yes.

In the fact, this problem is not encountered in actual use, but a bug encountered when I tried to modify VS Code.

  • VS Code Version: 1.73.0 be022da
  • OS Version: Macos 12.2.1 Intel

Steps to Reproduce:

  1. Clone VS Code source code
  2. yarn install
  3. Add dependencies to remote/web/package.json.For example, add react-dom to simulate scenarios where dependencies need to be added to vscode-web., then yarn add react-dom under the root directory.
  4. Use cmd + shift + B shortcut keys to perform Core - Build and Ext - Build tasks. Then you will find that the mission unexpectedly quit.

image

  1. The problem is that browser fields can be not only string but also objects.

image

image

Metadata

Metadata

Assignees

Labels

engineeringVS Code - Build / issue tracking / etc.insiders-releasedPatch has been released in VS Code InsiderspolishCleanup and polish issue

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions