Skip to content

package.json repository url not read #527

Closed
@LuisPeregrinaIBM2

Description

@LuisPeregrinaIBM2

When creating VSIX and using a relative image in the README.md it says:
ERROR Couldn't detect the repository where this extension is published. The image 'preview.png' will be broken in README.md. Please provide the repository URL in package.json or use the --baseContentUrl and --baseImagesUrl options.

However, there is a repo url in package.json:

{
	...
	"repository": {
		"type": "git",
		"url": "https://***.git"
	},

Activity

joaomoreno

joaomoreno commented on Jan 19, 2021

@joaomoreno
Member

Is it a github repo? Is it a public repo?

LuisPeregrinaIBM2

LuisPeregrinaIBM2 commented on Jan 19, 2021

@LuisPeregrinaIBM2
Author

github enterprise, public repo

LuisPeregrinaIBM2

LuisPeregrinaIBM2 commented on Jan 19, 2021

@LuisPeregrinaIBM2
Author

either way, parameter baseImagesUrl works, so either the message is missing some additional info (github.com repos only) or it's not parsed correctly.

self-assigned this
on Jan 21, 2021
added this to the January 2021 milestone on Jan 21, 2021
added a commit that references this issue on Jan 21, 2021
06156a8
added
bugIssue identified by VS Code Team member as probable bug
on Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @joaomoreno@LuisPeregrinaIBM2

      Issue actions

        package.json repository url not read · Issue #527 · microsoft/vscode-vsce