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

yo @microsoft/azure-devops-extension fails #2

Closed
stefanstranger opened this issue Jun 13, 2019 · 1 comment
Closed

yo @microsoft/azure-devops-extension fails #2

stefanstranger opened this issue Jun 13, 2019 · 1 comment

Comments

@stefanstranger
Copy link

When I run yo @microsoft/azure-devops-extension it fails with the following error:

AssertionError [ERR_ASSERTION]: Trying to copy from a source that does not exist: C:\Users\johndoe\AppData\Roaming\npm\node_modules\@microsoft\generator-azure-devops-extension\app\templates\.gitignore

After creating manually a .gitignore file in the C:\Users\johndoe\AppData\Roaming\npm\node_modules@microsoft\generator-azure-devops-extension\app\templates folder I could create the scaffolding for the Extension.

Stefan [msft]

@MatisseHack
Copy link
Contributor

Good catch! It seems npm renames .gitignore to .npmignore when it installs the package. Should be fixed by microsoft/azure-devops-extension-yeoman-generator#2 (published in version 1.0.1)

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

2 participants