Skip to content

[Bug]: TypeError: Cannot read properties of undefined (reading 'call') When starting mssql extension v1.37 (v1.36 still works) #20635

@EricZiola

Description

@EricZiola

Description

Expected VS Code mssql extension to work on MacOs ARM64 M1 Pro laptop like it always has.

When the new version of mssql extension v1.37 was updated and restarted in VS Code the extension failed to initialize with the output window logging:

Initializing SQL tools service for the mssql extension.
Note: mssql commands will be available after installing the service.

Platform: darwin, arm64 (OSX)

Installing SQL tools service to /Users/eziola/.vscode/extensions/ms-mssql.mssql-1.22.1/sqltoolsservice/4.10.2.1/OSX.
Downloading https://github.com/Microsoft/sqltoolsservice/releases/download/4.10.2.1/microsoft.sqltools.servicelayer-osx-arm64-net7.0.tar.gz
[ERROR] TypeError: Cannot read properties of undefined (reading 'call')

Steps to Reproduce

Install mssql extension v1.37 on MacOS ARM64 M1 Laptop
Try to connect to a SQL Database (Azure SQL DB in my case).
Get error message above
Uninstalled, reinstalled v1.36
Restarted Extensions
Worked!

Affected Area

  • Connection dialog (SQL Server | Azure browse/Fabric browse)
  • Query editor
  • Query results panel
  • Object Explorer
  • GitHub Copilot integration
  • Preview/Edit data
  • Table Designer
  • Schema Designer
  • Schema Compare
  • Local SQL Server Container provisioning
  • SQL database in Fabric provisioning
  • DACPAC/BACPAC export/import
  • SQL Database projects
  • Query Plan Visualizer
  • Other (please describe below)

If you selected "Other", please describe the affected area

The extension fails to initialize with the error stated above.

Environment Information

VS Code: v1.106.1
mssql: v1.37
MacOs ARM64 M1 Macbook Pro
Connection to: Azure SQL Server

Confirmation

  • I have searched existing issues and couldn't find a match
  • I want to work on this issue

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions