You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running ionic hooks add pulls in the hook scripts, but they appear to be an older version of the scripts.
This is problematic because it causes warnings about using the deprecated sys module. This warning seemed to be causing some of our ios plugins to not install correctly on our build server.
What behavior are you expecting?
I was expecting ionic hooks add to retrieve the current version of the scripts (ie: this
but it appears we are getting this
Steps to reproduce:
Create a new Ionic project with latest CLI version (I am using node 6.9.1, ionic-cli 2.1.8 and cordova 6.4.0)
Run ionic hooks add
Look at the hooks/after_platform_add/010_install_plugins.js file
Notice that this file seems to not be the current version found here
The text was updated successfully, but these errors were encountered:
As a quick update, I have gotten around this by no longer using the hooks scripts. Following what I believe is the direction Ionic is trending, I have moved all of my platform and plugin declarations to the config.xml, where Cordova can handle them all on its own. No hooks required. Has anyone else been dealing with things like this?
Thanks for the issue! This issue appears to be associated with an old version of the Ionic CLI. Please update to the latest CLI version, which supports all versions of the Ionic Framework. If the issue is relevant and if it persists after updating to the latest CLI version, please create a new issue.
Short description of the problem:
Running
ionic hooks add
pulls in the hook scripts, but they appear to be an older version of the scripts.This is problematic because it causes warnings about using the deprecated
sys
module. This warning seemed to be causing some of our ios plugins to not install correctly on our build server.What behavior are you expecting?
I was expecting
ionic hooks add
to retrieve the current version of the scripts (ie: thisbut it appears we are getting this
Steps to reproduce:
ionic hooks add
hooks/after_platform_add/010_install_plugins.js
fileThe text was updated successfully, but these errors were encountered: