Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] how to develop vscode extensions locally with inter dependencies #207

Closed
joaomoreno opened this issue Oct 3, 2017 · 3 comments
Assignees

Comments

@joaomoreno
Copy link
Member

From microsoft/vscode#35458 cc @dakaraphi

I'm attempting to develop extensions which have a common dependency.
I use npm link to satisfy the dependency locally.

The problem is that I can't package the extension because vsce will fail due to npm saying there are extraneous modules. This is due to both modules requiring vscode.

The annoying work around is to uninstall the vscode from the common module before I package/publish. But this is an annoying workflow.

Is there a way to make this work properly?

@guw
Copy link

guw commented Jan 12, 2018

@dakaraphi Sorry for hijacking this thread. I have a related situation - an extension depending on another extension. However, I don't even get the code compiled when defining a dependency from one extension to another extension. Thus, I was wondering if you could share your setup to reproduce the issue you are seeing. It sounds like you figured out a way of compiling the code.

I've created a Stackoverflow post with details and a repo for reproducing the compile issue.

@d-akara
Copy link

d-akara commented Jan 12, 2018

@guw posted a response on Stackoverflow.
This is related to microsoft/TypeScript#6496 (comment)

@joaomoreno
Copy link
Member Author

/duplicate #203

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants