-
Notifications
You must be signed in to change notification settings - Fork 11.9k
New project with webpack #1600
Copy link
Copy link
Closed
Description
Please provide us with the following information:
- OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Ubuntu 14.04 - Versions. Please run
ng --version. If there's nothing outputted, please run
in a Terminal:node --versionand paste the result here:
angular-cli: 1.0.0-beta.11-webpack
node: 6.3.1
os: linux x64
- Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
$ ng new webtest
$ cd webtest
$ ng serve- The log given by the failure. Normally this include a stack trace and some
more information.
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 (PATH/webtest/node_modules/angular-cli/lib/models/builder.js:57:13)
at Class.module.exports.Task.extend.init (PATH/webtest/node_modules/angular-cli/lib/models/builder.js:89:10)
at new Class (PATH/webtest/node_modules/core-object/core-object.js:18:12)
at Class.module.exports.Task.extend.run (PATH/webtest/node_modules/angular-cli/lib/tasks/serve.js:15:19)
at PATH/webtest/node_modules/angular-cli/lib/commands/serve.js:64:24
at lib$rsvp$$internal$$tryCatch (PATH/webtest/node_modules/rsvp/dist/rsvp.js:1036:16)
at lib$rsvp$$internal$$invokeCallback (PATH/webtest/node_modules/rsvp/dist/rsvp.js:1048:17)
at PATH/webtest/node_modules/rsvp/dist/rsvp.js:331:11
at lib$rsvp$asap$$flush (PATH/webtest/node_modules/rsvp/dist/rsvp.js:1198:9)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
- Mention any other details that might be useful.
Running this solved the issue:
rm -rf node_modules dist tmp typings
npm install --save-dev angular-cli@webpack
npm installIs that really necessary for brand new project? Did I missed anything?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels