microsoft / microsoft/azure-devops-extension-sdk

Error: ENOENT: no such file or directory, lstat '\node_modules\azure-devops-extension-sdk\lib'

Open
#84 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
159
Forks
53
PR merge metrics
No merged PRs in 30d

Description

I've followed this exact guide: https://learn.microsoft.com/en-us/azure/devops/extend/get-started/node?view=azure-devops

When I attempt to package (npx tfx-cli extension create) I receive the following exception:

Error: ENOENT: no such file or directory, lstat '\node_modules\azure-devops-extension-sdk\lib'

This is what my folder contents look like for azure-devops-extension-sdk

image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure by following the linked Azure DevOps guide and running npx tfx-cli extension create. Inspect how the package resolves node_modules\azure-devops-extension-sdk\lib and compare that path with the installed package contents shown in the issue. Done means the documented setup packages successfully without the ENOENT error.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.