Skip to content

ng github-pages:deploy still requires angular-cli-build.js #1672

Closed
@JohannesHoppe

Description

@JohannesHoppe
  1. OS: Windows 8.1, but doesn't matter
  2. Versions.
angular-cli: 1.0.0-beta.11-webpack.2
node: 6.3.1
os: win32 x64
  1. Repro steps. Was this an app that wasn't created using the CLI? What change did you
    do on your code? etc.
    Fresh project created with ng new
  2. The log given by the failure. Normally this include a stack trace and some
    more information.
 ng github-pages:deploy
(node:10264) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
- BuildingNo angular-cli-build.js found. Please see the transition guide: https://github.com/angular-cli/angular-cli/blob/master/TRANSITION.md#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#user-content-brocfile-transition.
    at Class.module.exports.Task.extend.setupBroccoliBuilder (D:\theFolder\node_modules\angular-cli\lib\models\builder.js:57:13)
    at Class.module.exports.Task.extend.init (D:\theFolder\node_modules\angular-cli\lib\models\builder.js:89:10)
    at new Class (D:\theFolder\node_modules\core-object\core-object.js:18:12)
    at Class.module.exports.Task.extend.run (D:\theFolder\node_modules\angular-cli\lib\tasks\build.js:15:19)
    at build (D:\theFolder\node_modules\angular-cli\addon\ng2\commands\github-pages-deploy.ts:108:30)
    at lib$rsvp$$internal$$tryCatch (D:\theFolder\node_modules\rsvp\dist\rsvp.js:1036:16)
    at lib$rsvp$$internal$$invokeCallback (D:\theFolder\node_modules\rsvp\dist\rsvp.js:1048:17)
    at lib$rsvp$$internal$$publish (D:\theFolder\node_modules\rsvp\dist\rsvp.js:1019:11)
    at lib$rsvp$asap$$flush (D:\theFolder\node_modules\rsvp\dist\rsvp.js:1198:9)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)

`new BuildTask`` seems to depend on some outdated code...
see https://github.com/angular/angular-cli/blob/master/addon/ng2/commands/github-pages-deploy.ts#L71

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions