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

deprication notice while build: Node#moveTo was deprecated. Use Container#append.

Open sibiraj-s opened this issue 9 years ago • 31 comments

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

sibiraj-s avatar Nov 22 '17 17:11 sibiraj-s

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 avatar Feb 19 '18 14:02 manolosky

@manolosky . Update angular-cli to v1.7.0.

sibiraj-s avatar Feb 19 '18 15:02 sibiraj-s

I am getting same issue after converting from angular 4.3.1 to 5.2.5.

Sathishchary avatar Feb 21 '18 09:02 Sathishchary

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.

rag7s avatar Mar 09 '18 07:03 rag7s

Guys, you should just upgrade angular-cli to 1.7.0+ and the warning will be gone.

dojchek avatar Mar 09 '18 22:03 dojchek

Can confirm this running 1.7.2 and it disappeared

Baklap4 avatar Mar 09 '18 23:03 Baklap4

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.

rag7s avatar Mar 27 '18 07:03 rag7s

updated to 1.7.2 and it's fixed

vehansayvazi avatar Mar 28 '18 23:03 vehansayvazi

updated angular/cli to 1.7.3 and its working fine

ashkaushik avatar Apr 13 '18 18:04 ashkaushik

updated angular/cli to 1.7.4 and its working fine :)

iuada0j0 avatar Jul 06 '18 10:07 iuada0j0

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.