angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Missing angular-cli-build.js in 1.0.0-beta.11-webpack

Open serhiisol opened this issue 10 years ago • 25 comments

  1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Mac OS X El Capitan 10.11.6
  1. Versions. Please run ng --version. If there's nothing outputted, please run
angular-cli: 1.0.0-beta.11-webpack
node: 6.3.1
os: darwin x64
  1. Repro steps. Was this an app that wasn't created using the CLI? What change did you do on your code? etc.
$ ng new webpack-test
$ ng serve
  1. The log given by the failure. Normally this include a stack trace and some more information.
⇒  ng serve
(node:10190) 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.
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
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.
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 (/Users/serhiysolonko/Development/Playground/wepback-test/node_modules/angular-cli/lib/models/builder.js:57:13)
    at Class.module.exports.Task.extend.init (/Users/serhiysolonko/Development/Playground/wepback-test/node_modules/angular-cli/lib/models/builder.js:89:10)
    at new Class (/Users/serhiysolonko/Development/Playground/wepback-test/node_modules/core-object/core-object.js:18:12)
    at Class.module.exports.Task.extend.run (/Users/serhiysolonko/Development/Playground/wepback-test/node_modules/angular-cli/lib/tasks/serve.js:15:19)
    at /Users/serhiysolonko/Development/Playground/wepback-test/node_modules/angular-cli/lib/commands/serve.js:64:24
    at lib$rsvp$$internal$$tryCatch (/Users/serhiysolonko/Development/Playground/wepback-test/node_modules/rsvp/dist/rsvp.js:1036:16)
    at lib$rsvp$$internal$$invokeCallback (/Users/serhiysolonko/Development/Playground/wepback-test/node_modules/rsvp/dist/rsvp.js:1048:17)
    at /Users/serhiysolonko/Development/Playground/wepback-test/node_modules/rsvp/dist/rsvp.js:331:11
    at lib$rsvp$asap$$flush (/Users/serhiysolonko/Development/Playground/wepback-test/node_modules/rsvp/dist/rsvp.js:1198:9)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)

PS. https://github.com/angular-cli/angular-cli/blob/master/TRANSITION.md#user-content-brocfile-transition - doesn't exist 😄

serhiisol avatar Aug 05 '16 15:08 serhiisol

I had to install awesome-typescript-loader as a dev dependency after running npm install --save-dev angular-cli@webpack. Finally got the project up and running again.

Blak3Nick avatar Sep 14 '16 18:09 Blak3Nick

I'm having this problem today, the angular-cli seems like a great idea but continues to have numerous bugs

pomeara avatar Oct 05 '16 04:10 pomeara

Guys, this ticket already closed due to new releases of cli (for instance with beta 16 everything works as it should)

PS. Try to update to latest, should help

serhiisol avatar Oct 05 '16 12:10 serhiisol

where angular-cli-build.json: in project angular-cli

sutin1234 avatar Dec 24 '16 08:12 sutin1234

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.