DrMueller / Angular-AzureDevOps-Poc

5 stars 2 forks source link

Error npm run build-package #4

Open bikotoru opened 4 years ago

bikotoru commented 4 years ago

When execute command npm run build-package show this error

angular-azuredevops-poc@0.0.0 build-package /Users/victorureta/Downloads/Angular-AzureDevOps-Poc-master tfx extension create --rev-version

TFS Cross Platform Command Line Interface v0.7.11 Copyright Microsoft Corporation error: Error: ENOENT: no such file or directory, lstat '/Users/victorureta/Downloads/Angular-AzureDevOps-Poc-master/index.html' npm ERR! code ELIFECYCLE npm ERR! errno 255 npm ERR! angular-azuredevops-poc@0.0.0 build-package: tfx extension create --rev-version npm ERR! Exit status 255 npm ERR! npm ERR! Failed at the angular-azuredevops-poc@0.0.0 build-package script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/victorureta/.npm/_logs/2020-02-07T15_48_34_164Z-debug.log

StylesGumede commented 4 years ago

Lol why dont repo owners answer issues on their code?

DrMueller commented 4 years ago

@StylesGumede I've somehow missed your E-Mail. GitHub is spamming me like no tomorrow as it finds a lot of vulnerabilities in my web projects.

Regarding your issue: Did you check the README? There is a step before build-package. With npm run ci-build-prod, the output is created to the dist folder.