Console error warning when running Ionic app

Asked

Viewed 148 times

0

created an app by Ionic Creator. I have a form for registration and when clicking on any field of the form the following warning appears in the console:

'webkitMovementX' is deprecated. Please use 'movementX' Instead. ........ Ionic.bundle.js:1173

I have already been given the suggestion to update Ionic, I have updated the lib, too, and it went to the Ionic version, v1.2.4-Nightly-1917, and it has to be v1.2.4-Nightly-2019, so I was told. When I tried to reinstall Ionic, this message came:

Print da mensagem

I updated npm and a cassette of things was updated too. And at the end, this is: You see the ERRS!? inserir a descrição da imagem aqui

Anyone you have any ideas or suggestions?

  • Already updated the npm?

  • How do I update npm @Marcoauréliodeleu?

  • doing this? npm install -g npm?

  • I updated several packages and it didn’t help, I mean, update many packages, but Ionic.bundle.js

2 answers

0

I already went through a similar error and at least in my case it was user permission problem. Try to run the following command:

sudo chown -R meuusuario /usr/local/lib/

Then install Cordova and Ionic:

npm install -g cordova ionic

-1

In your application you are using the "webkitMovementX" function that is outdated, use movementX.

This is just a warning, it is not an error. This function may have problems that in the newer version have already been fixed.

  • 1

    It is very likely that whoever is using the obsolete function is Ionic itself and not the author of the question. Your answer is not relevance to the problem.

  • No Lucas, I’m not using this function on my own. It’s from Ionic.bundle.js itself

  • Thanks for returning, I found the link to this bug in Ionic: https://github.com/driftyco/ionic/issues/4259

  • This link unfortunately did not help.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.