Skip to content

ng github-pages:deploy outputs "No angular-cli-build.js found." #3076

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

Closed
Pablocgdev opened this issue Nov 9, 2016 · 3 comments
Closed

ng github-pages:deploy outputs "No angular-cli-build.js found." #3076

Pablocgdev opened this issue Nov 9, 2016 · 3 comments

Comments

@Pablocgdev
Copy link

Pablocgdev commented Nov 9, 2016

OS?

Windows 7.

Versions.

angular-cli: 1.0.0-beta.11-webpack.2
node: 4.4.7

Repro steps.

Create app with angular CLI.
Create different componentes, services and pipes.
Deploy with ng serve, OK.
Commit, push to repo, OK.
ng github-pages:deploy : No angular-cli-build.js found.

The log given by the failure.

`C:\dev-env\myproject>ng github-pages:deploy

  • BuildingNo angular-cli-build.js found. Please see the transition guide: https://github.com/angular-cli/angular-cli/blob/master/TRANSITION.m
    d#user-content-brocfile-transition.
    Error: No angular-cli-build.js found. Please see the transition guide: https://github.com/angular-cli/angular-cli/blob/master/TRANSITION.md#u
    ser-content-brocfile-transition.
    at Class.module.exports.Task.extend.setupBroccoliBuilder (C:\dev-env\myproject\node_modules\angular-cli\node_modules\angul
    ar-cli\lib\models\builder.js:57:13)
    at Class.module.exports.Task.extend.init (C:\dev-env\myproject\node_modules\angular-cli\node_modules\angular-cli\lib\model
    s\builder.js:89:10)
    at new Class (C:\dev-env\myproject\node_modules\angular-cli\node_modules\angular-cli\node_modules\core-object\core-object.
    js:18:12)
    at Class.module.exports.Task.extend.run (C:\dev-env\myproject\node_modules\angular-cli\node_modules\angular-cli\lib\tasks
    build.js:15:19)
    at build (C:\dev-env\myproject\node_modules\angular-cli\addon\ng2\commands\github-pages-deploy.ts:108:30)
    at tryCatch (C:\dev-env\myproject\node_modules\angular-cli\node_modules\angular-cli\node_modules\rsvp\dist\lib\rsvp-inter
    nal.js:215:12)
    at invokeCallback (C:\dev-env\myproject\node_modules\angular-cli\node_modules\angular-cli\node_modules\rsvp\dist\lib\rsvp
    -internal.js:230:13)
    at publish (C:\dev-env\myproject\node_modules\angular-cli\node_modules\angular-cli\node_modules\rsvp\dist\lib\rsvp-intern
    al.js:198:7)
    at flush (C:\dev-env\myproject\node_modules\angular-cli\node_modules\angular-cli\node_modules\rsvp\dist\lib\rsvp\asap.js:8
    5:5)
    at nextTickCallbackWith0Args (node.js:420:9)
    at process._tickCallback (node.js:349:13)`

Mention any other details that might be useful.

I tried with node6 and every module up-to-date and still get the same error.

According to #1633 this should be fixed but I still get the error.

@clydin
Copy link
Member

clydin commented Nov 9, 2016

You're using a fairly old version of the CLI. beta.19-3 is the latest.

@filipesilva
Copy link
Contributor

The problem is the old CLI version, yes. You should update to fix that problem.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants