deprication notice while build: Node#moveTo was deprecated. Use Container#append.
Version
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 1.5.3
Node: 8.9.1
OS: linux x64
Angular: 5.0.0
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
@angular/cli: 1.5.3
@angular/tsc-wrapped: 4.4.6
@angular-devkit/build-optimizer: 0.0.32
@angular-devkit/core: 0.0.20
@angular-devkit/schematics: 0.0.35
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.8.3
@schematics/angular: 0.1.0
typescript: 2.4.2
webpack: 3.8.1
Observed behavior
30% building modules 167/168 modules 1 active ...nts/src/styles.scssNode#moveTo was deprecated. Use Container#append.
After updating to 1.5.3 I get this notice with scss while running ng build --prod
Same here:
Angular CLI: 1.6.8 Node: 8.9.0 OS: darwin x64 Angular: 5.2.5
"bootstrap": "4.0.0-beta.2"
I need help...
@manolosky . Update angular-cli to v1.7.0.
I am getting same issue after converting from angular 4.3.1 to 5.2.5.
C:\xampp\htdocs\profile>ng build --prod 10% building modules 5/5 modules 0 activeNode#moveTo was deprecated. Use Container#append. Getting above issue please help me with this.
Guys, you should just upgrade angular-cli to 1.7.0+ and the warning will be gone.
Can confirm this running 1.7.2 and it disappeared
I found the solution for this '0% building modules 5/5 modules 0 activeNode#moveTo was deprecated. Use Container#append.'
Example: if css has classes like this .container{color:red;} .container{font-size:14px;} then you will get this error means douplicate classes.
It should be .container{color:red;font-size:14px;} then it wont show this error.
Like this I checked enter my project and then fixed this error.
updated to 1.7.2 and it's fixed
updated angular/cli to 1.7.3 and its working fine
updated angular/cli to 1.7.4 and its working fine :)
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.