-
Notifications
You must be signed in to change notification settings - Fork 243
Description
Hi,
I wanted to build my first VS Code extension, so I followed the tutorial on https://code.visualstudio.com/api/get-started/your-first-extension
So I have a code base containing the src for the hello world extension.
I now wanted to package this into a .vsix file so I can install it on VS Code. So I navigate into my folder (same where package.json is) and execute vsce package
This is the output
Executing prepublish script 'npm run vscode:prepublish'...
> [email protected] vscode:prepublish C:\Users\username\dev\lorem-ipsum-generator
> npm run compile
> [email protected] compile C:\Users\username\dev\lorem-ipsum-generator
> tsc -p ./
ERROR Make sure to edit the README.md file before you publish your extension.
Here u got the same cmd as screenshot
As you can see on the last line, there's an ERROR output, but there's no message. If I run the commands npm run vscode:prepublish and tsc -p ./ independently they don't throw any errors, so I think on this end everything works fine.
Also, the response of vsce package ls is
Executing prepublish script 'npm run vscode:prepublish'...
> [email protected] vscode:prepublish C:\Users\username\dev\lorem-ipsum-generator
> npm run compile
> [email protected] compile C:\Users\username\dev\lorem-ipsum-generator
> tsc -p ./
CHANGELOG.md
out/extension.js
package.json
README.md
As you can see, no error in there. It only comes when doing vsce package. Additionally, when I debug the extension by pressing F5 it simply works without any error.
Versions I'm using:
- vsce: 1.67.1
- npm: 6.9.0
- tsc: 3.6.4
- windows: 1709
Is there any way I can get an error with a message or log or sth. like that?
