x)- [ X] bug report -> please search issues before submitting
- [ ] feature request
@angular/cli: 1.3.2
node: 8.0.0
os: darwin x64
@angular/animations: 4.3.5
@angular/common: 4.3.5
@angular/compiler: 4.3.5
@angular/core: 4.3.5
@angular/forms: 4.3.5
@angular/http: 4.3.5
@angular/platform-browser: 4.3.5
@angular/platform-browser-dynamic: 4.3.5
@angular/router: 4.3.5
@angular/cli: 1.3.2
@angular/compiler-cli: 4.3.5
Mac OSX Sierra 10.12.6
ng eject
ng eject
Cannot read property 'build' of undefined
TypeError: Cannot read property 'build' of undefined
at Promise.resolve.then.then.then.then.then (/Users/foo/Projects/someProject/front/node_modules/@angular/cli/tasks/eject.js:409:24)
at
at process._tickCallback (internal/process/next_tick.js:169:7)
Well working would be better :)
I had the same issue, i resolved it by removing following two lines from "script" section from package.json file.
"start": "ng serve --ec true --port 4201",
"build": "ng build --prod",
Do not remove the whole "script" section.
ng eject is no longer provided by Angular CLI.
If you need this feature please use https://github.com/manfredsteyer/ngx-build-plus
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._
Most helpful comment
I had the same issue, i resolved it by removing following two lines from "script" section from package.json file.
Do not remove the whole "script" section.