Angular-cli: Node#moveTo was deprecated. Use Container#append

Created on 2 Dec 2017  路  5Comments  路  Source: angular/angular-cli

Installed Versions:
Angular CLI: 1.5.5
Node: 8.9.0
OS: win32 x64
Angular: 5.0.5
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cdk: 5.0.0-rc.2
@angular/cli: 1.5.5
@angular/material: 5.0.0-rc.2
@angular-devkit/build-optimizer: 0.0.34
@angular-devkit/core: 0.0.22
@angular-devkit/schematics: 0.0.38
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.8.5
@schematics/angular: 0.1.8
typescript: 2.4.2
webpack: 3.8.1

Repro steps

ng build --prod --aot=false --sourcemap=false

Observed behavior

after update to cli 1.55 i get this error:
10% building modules 8/10 modules 2 active ...\bootstrap\dist\css\bootstrap.min.cssNode#moveTo was deprecated. Use Container#append

Desired behavior

compiled production version

Most helpful comment

Please update "#angular/cli" to "1.7.3"

Step 1: npm remove @angular/cli Step 2: npm cache clean --force Step 3: npm install -g #angular/[email protected]

Still stuck then update your package.json with

"#angular/cli": "1.7.3" and run npm install

Note: Please replace # with @ before angular/cli

Tested and working for me

All 5 comments

I have the same warning
` Angular CLI: 1.6.0-rc.1 Node: 8.9.0 OS: win32 x64 Angular: 5.1.0-rc.1 `

This is from one of the PostCSS plugins, which uses method deprecated in 6.0.0 release.

Now, moveTo, moveAfter & moveBefore are deprecated because regular insert methods have this move behavior.

Thanks for reporting this issue. However, this issue appears to be a duplicate of an existing issue #8598. Please subscribe to that issue for future updates.

Please update "#angular/cli" to "1.7.3"

Step 1: npm remove @angular/cli Step 2: npm cache clean --force Step 3: npm install -g #angular/[email protected]

Still stuck then update your package.json with

"#angular/cli": "1.7.3" and run npm install

Note: Please replace # with @ before angular/cli

Tested and working for me

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._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gotschmarcel picture gotschmarcel  路  3Comments

JanStureNielsen picture JanStureNielsen  路  3Comments

brtnshrdr picture brtnshrdr  路  3Comments

naveedahmed1 picture naveedahmed1  路  3Comments

sysmat picture sysmat  路  3Comments