-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Error building VSCode extension when @azure/identity-vscode is installed #29812
Comments
Thank you for your feedback. Tagging and routing to the team member best able to assist. |
Hey @Power-Maverick - thanks for reaching out about this issue! I think you need to configure a node-loader for this as per atom/node-keytar#59 (comment) However, I should warn you that we unfortunately hit a blocking issue that may prevent @azure/identity-vscode from working correctly (see https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/TROUBLESHOOTING.md#troubleshoot-visual-studio-code-authentication-issues for more information) While we resolve this internally we recommend using the az cli if possible. Hope this helps. |
I am also running into this issue when building a Vite/TypeScript/React application. From my limited understanding of how Vite is using the Rollup bundler under-the-hood, I think this issue may be related to the node loader for module resolution; however Vite's official documentation recommends that the I will try the node16 and nodenext values eventually and report back if any of those fix things for me, but it may be a while before I get to attempt this as project deadlines currently dictate what I am able to spend time experimenting on, unfortunately. |
@maorleger do you have any anticipated date for the fix? |
@Power-Maverick - unfortunately not at this time, as we have upstream dependencies that the VSCodeCredential relies on and need to be fixed first. I would recommend subscribing to #22904 if you'd like to be notified of any updates or when an alternative solution is published. cc @scottaddie |
Linking to the many threads on this: microsoft/vscode-azure-account#443
Just to clarify, do you mean the fix to your original issue? There's no fix that needs to happen on the Azure SDK side, you likely need to add a node loader as per atom/node-keytar#59 (comment) |
Hello folks, please don't use |
Describe the bug
When I am adding the npm package
@azure/identity-vscode
to my VS Code extension Dataverse DevTools that is built using webpack; I am getting compile errors on keytar packageTo Reproduce
Steps to reproduce the behavior:
feat-enable-azure-login
npm run compile
Expected behavior
The package installation should not throw error.
Screenshots
Error screenshot
Additional context
Error:
The text was updated successfully, but these errors were encountered: