microsoft / vscode-generator-code

Visual Studio Code extension generator
Other
1.29k stars 222 forks source link

Running extension gets error #345

Closed BradTFT closed 2 years ago

BradTFT commented 2 years ago

Hi,

So i installed and went through the generator process and got started. updated vscode to the newest version, and followed the docs. I went into the F5 window and ran the Hello World command. after i ran it it did nothing but brought this popup up:

Activating extension 'undefined_publisher.vscode-extension' failed: Cannot find module '/home/user/vscode-extension/vscode-extension/dist/extension.js' Require stack: - /usr/share/code/resources/app/out/vs/loader.js - /usr/share/code/resources/app/out/bootstrap-amd.js - /usr/share/code/resources/app/out/bootstrap-fork.js.

i read thru some other issues and have not found the fix for it.

BradTFT commented 2 years ago

@aeschli I apologize for the ping but no one has responded for close to 3 days

aeschli commented 2 years ago

Does vscode-extension/dist/extension.js exist? If not, did the build run? It should be part of the F5. Is this with webpack? Did you install the recommended extensions?

BradTFT commented 2 years ago

Im not sure. Im running ts as my main file. the build ran but it just popped the error message up. the developer window was open and functioning. im not sure about the webpack and i belive all of the recommended extensions are installed

BradTFT commented 2 years ago

Hi,

I just found the dist dir and there is a file named diff.js. i added an extension.js file to it but i got the same errors

BradTFT commented 2 years ago

solved via https://github.com/microsoft/vscode/issues/148932