Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read properties of undefined (reading 'fsPath') #2410

Open
darknoon opened this issue Sep 9, 2024 · 9 comments
Open

Cannot read properties of undefined (reading 'fsPath') #2410

darknoon opened this issue Sep 9, 2024 · 9 comments
Labels
bug Something isn't working tracked

Comments

@darknoon
Copy link

darknoon commented Sep 9, 2024

Environment (please complete the following information):

  • macOS 14.6.1 (23G93)
  • Extension version v2.1.5

Describe the bug:
I just installed this extension for the first time and tried to run it. This is the error I encountered.

Repro steps:
Command Palette → "Microsoft Edge Tools: Open Browser"

Command 'Microsoft Edge Tools: Open Browser with DevTools' resulted in an error
Cannot read properties of undefined (reading 'fsPath')

Screenshot 2024-09-09 at 12 36 18 PM

Expected behavior:
Runs browser

Additional context:

AB#53838982

@hannaofsweden
Copy link

Getting this too.

@captainbrosset captainbrosset added bug Something isn't working tracked labels Sep 11, 2024
@captainbrosset
Copy link
Collaborator

Thank you for filing. I will add this to our dev team's backlog.

@mistcat
Copy link

mistcat commented Sep 16, 2024

I too have this error

@btippett
Copy link

btippett commented Sep 19, 2024

Same issue here. M1 Mac running Sequoia. All apps installed with Homebrew.

VS Code
Version: 1.93.1
Commit: 38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40
Date: 2024-09-11T17:20:05.685Z
Electron: 30.4.0
ElectronBuildId: 10073054
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Darwin arm64 24.0.0

Microsoft Edge Tools for VS Code
v2.1.6

Microsoft Edge
Version 129.0.2792.52 (Official build) (arm64)

Extension Settings
"vscode-edge-devtools.browserArgs": []
"vscode-edge-devtools.browserFlavor": "Default",
"vscode-edge-devtools.defaultEntrypoint": "index.html",
"vscode-edge-devtools.defaultUrl": "about:blank"
"vscode-edge-devtools.headless": true
"vscode-edge-devtools.hostname": "localhost"
"vscode-edge-devtools.pathMapping": {
"/": "${workspaceFolder}"
},
"vscode-edge-devtools.port": 9222,
"vscode-edge-devtools.showWorkers": false,
"vscode-edge-devtools.sourceMapPathOverrides": {
"webpack:///./": "${webRoot}/",
"webpack:///src/": "${webRoot}/",
"webpack:///": "",
"webpack:///./~/": "${webRoot}/node_modules/",
"webpack://": "${webRoot}/",
"meteor://💻app/": "${webRoot}/"
},
"vscode-edge-devtools.sourceMaps": true,
"vscode-edge-devtools.timeout": 10000,
"vscode-edge-devtools.useHttps": false,
"vscode-edge-devtools.userDataDir": true,
"vscode-edge-devtools.webhint": true,
"vscode-edge-devtools.webhintInstallNotification": true,
"vscode-edge-devtools.webRoot": "${workspaceFolder}"

@hannaofsweden
Copy link

Here is the error output. I'm also on Mac M1 and Sequoia.

2024-09-29 21:22:48.183 [error] TypeError: Cannot read properties of undefined (reading 'fsPath')
at Qh (/Users/johannajohansson/.vscode/extensions/ms-edgedevtools.vscode-edge-devtools-2.1.6/out/extension.js:2:1509346)
at /Users/johannajohansson/.vscode/extensions/ms-edgedevtools.vscode-edge-devtools-2.1.6/out/extension.js:2:1507207
at h (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:161:210554)
at h.$executeContributedCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:161:211414)
at y.S (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:158:5968)
at y.Q (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:158:5734)
at y.M (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:158:4767)
at y.L (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:158:3602)
at i.value (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:158:2297)
at r.B (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:90:732)
at r.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:90:949)
at a.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:115:14463)
at i.value (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:184:8635)
at r.B (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:90:732)
at r.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:90:949)
at a.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:115:14463)
at MessagePortMain. (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:184:6761)
at MessagePortMain.emit (node:events:519:28)
at MessagePortMain.emit (node:domain:488:12)
at Object.MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:2:2619) vscode-edge-devtools-view.launchHtml {"value":"ms-edgedevtools.vscode-edge-devtools","_lower":"ms-edgedevtools.vscode-edge-devtools"}

@diasm3
Copy link

diasm3 commented Oct 18, 2024

same here please

@KevinRohn
Copy link

same here

@deanMike
Copy link

deanMike commented Nov 8, 2024

Is there any news on this bug? I'm getting it with a fresh install on my Mac as well. I already had Edge installed before installing the extension if that matters

@dlibis
Copy link

dlibis commented Dec 12, 2024

any updates on this bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tracked
Projects
None yet
Development

No branches or pull requests

9 participants