Q: How to solve “ERROR Make sure to edit the README.md file before you package or publish your extension.”?

A: Edit the README.md-file at the extension root.

Q: How to solve “Activating extension <extention-name> failed: Cannot find module ‘<folder>’“?

A: Make sure that the root VSCode folder is the root folder of the VSCode extension.

Q: How to solve “WARNING: IPC handle “<folder>/.vscode-test/user-data/1.74.3-main.sock” is longer than 103 chars, try a shorter —user-data-dir Could not delete obsolete instance handle Error: ENOENT: no such file or directory, unlink ‘<folder>/.vscode-test/user-data/1.74.3-main.sock’“?

A: Make the working directory shorter or update runTests in runTest.ts (source) to:

await runTests({ 
  extensionDevelopmentPath, 
  extensionTestsPath,
  launchArgs: ['--user-data-dir', `${os.tmpdir()}`]
});