Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Missing module #178

Closed
onepointWill opened this issue Oct 6, 2020 · 6 comments
Closed

Missing module #178

onepointWill opened this issue Oct 6, 2020 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@onepointWill
Copy link

Issue Type: Bug

I have installed Azure Logic App from the repository in VSCode. When I use the extension, no Azure subscriptions are shown.

When I look at the console for VSCode I can see that there is an error with a missing module:

"Activating extension 'ms-azuretools.vscode-logicapps' failed: Cannot find module 'vscode-azureextensionui'
Require stack:

  • ~/.vscode/extensions/ms-azuretools.vscode-logicapps-0.2.53/out/extension.js"

Running Ubuntu 20.04

I installed VSCode using Snap

Extension version: 0.2.53
VS Code version: Code 1.49.3 (2af051012b66169dde0c4dfae3f5ef48f787ff69, 2020-10-02T17:56:11.027Z)
OS version: Linux x64 5.4.0-48-generic snap

System Info
Item Value
CPUs Intel(R) Core(TM) i5-4430 CPU @ 3.00GHz (4 x 2747)
GPU Status 2d_canvas: unavailable_software
flash_3d: disabled_software
flash_stage3d: disabled_software
flash_stage3d_baseline: disabled_software
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: disabled_off
protected_video_decode: disabled_off
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
Load (avg) 1, 2, 1
Memory (System) 11.58GB (0.32GB free)
Process Argv --force-user-env --no-sandbox --unity-launch --no-sandbox --crash-reporter-id 5f27121a-084d-449a-9ab5-329df6f871a9
Screen Reader no
VM 0%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE x11
@kevinCefalu
Copy link

I can confirm the same.

  • Windows 10 v2004 build 19041.508
  • VSCode v1.49.3 & v1.50.0-insider
  • Installed MS Azure Extensions
    Name Version
    ms-azure-devops.azure-pipelines v1.174.2
    ms-azuretools.vscode-azureappservice v0.19.0
    ms-azuretools.vscode-azurefunctions v0.24.1
    ms-azuretools.vscode-azureresourcegroups v0.2.0
    ms-azuretools.vscode-azurestorage v0.10.1
    ms-azuretools.vscode-azurevirtualmachines v0.2.0
    ms-azuretools.vscode-cosmosdb v0.15.0
    ms-azuretools.vscode-docker v1.6.0
    ms-azuretools.vscode-logicapps v0.2.53
    ms-vscode.azure-account v0.9.3
    ms-vscode.azurecli v0.5.0
    msazurermtools.azurerm-vscode-tools v0.12.0

Note: Other extensions that make connections to Azure (i.e., ms-azuretools.vscode-azurestorage, ms-azuretools.vscode-azurevirtualmachines) appear to work fine and allow expected functionality.

Log

abstractExtensionService.ts:708 Activating extension 'ms-azuretools.vscode-logicapps' failed: Cannot find module 'vscode-azureextensionui'
Require stack:
- c:\Users\Kevin\.vscode-insiders\extensions\ms-azuretools.vscode-logicapps-0.2.53\out\extension.js
- c:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\loader.js
- c:\Program Files\Microsoft VS Code Insiders\resources\app\out\bootstrap-amd.js
- c:\Program Files\Microsoft VS Code Insiders\resources\app\out\bootstrap-fork.js.
_logMessageInConsole @ abstractExtensionService.ts:707
_logOrShowMessage @ abstractExtensionService.ts:707
$onExtensionActivationError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:401
_invokeHandler @ rpcProtocol.ts:332
_receiveRequest @ rpcProtocol.ts:278
_receiveOneMessage @ rpcProtocol.ts:220
(anonymous) @ rpcProtocol.ts:93
fire @ event.ts:535
fire @ ipc.net.ts:407
_receiveMessage @ ipc.net.ts:755
(anonymous) @ ipc.net.ts:630
fire @ event.ts:535
acceptChunk @ ipc.net.ts:224
(anonymous) @ ipc.net.ts:149
t @ ipc.net.ts:892
emit @ events.js:223
addChunk @ _stream_readable.js:309
readableAddChunk @ _stream_readable.js:290
Readable.push @ _stream_readable.js:224
onStreamRead @ internal/stream_base_commons.js:181

@n-irwin
Copy link

n-irwin commented Oct 7, 2020

Yep Im also having the same issue

Version: 1.49.3 (user setup)
Commit: 2af051012b66169dde0c4dfae3f5ef48f787ff69
Date: 2020-10-02T17:57:01.595Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.17763

Activating extension 'ms-azuretools.vscode-logicapps' failed: Cannot find module 'vscode-azureextensionui'
Require stack:
- c:\xxxxxxxx\.vscode\extensions\ms-azuretools.vscode-logicapps-0.2.53\out\extension.js
- c:\xxxxxxxxxx\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js
- c:\xxxxxxxxxx\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-amd.js
- c:\xxxxxxxxx\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-fork.js.
_logMessageInConsole @ abstractExtensionService.ts:396

@joechung-msft joechung-msft self-assigned this Oct 7, 2020
@joechung-msft joechung-msft added the bug Something isn't working label Oct 7, 2020
@joechung-msft
Copy link
Contributor

vsce produced an invalid package when using the yarn option. I'll publish a new version using --no-yarn.

joechung-msft added a commit that referenced this issue Oct 7, 2020
- Do not use yarn when making the VSIX
@joechung-msft
Copy link
Contributor

joechung-msft commented Oct 7, 2020

Thanks for reporting this, and sorry for the inconvenience. I just published the hotfix 0.2.54.

@joechung-msft
Copy link
Contributor

joechung-msft commented Oct 7, 2020

Possible root cause of issue - microsoft/vscode-vsce#432

@kevinCefalu
Copy link

Confirmed working after updating to hotfix 0.2.54. Great job, thanks so much!

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

No branches or pull requests

4 participants