My Ionic info:
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.4
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.9
Ionic App Scripts Version: 0.0.47
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v4.3.1
Xcode version: Not installed
Description:
# ionic start demo --v2 && cd demo
# ionic platform add browser
# ionic run browser -lcs
then modify something…
# [10:12:12] build started …
then, console will stop here… nothing go on.
What’s wrong with me, please help!
Your Node version is old. Probable solution: Uninstall ionic and Cordova. Remove your Node installation completely. Update Node to the most recent LTS., Clear your npm cache, just in case you missed something. Reinstall cordova, then reinstall ionic.
Are you sure, it is due to the lower version of NodeJS? Anyone has any experience for that?
As my test, liveload works well for other platform: android, ios, etc…
Ionic’s build action base on app-scripts and ionic-cli, not a bug for them?
Other way, I may do a try to a higher version of node.
Of course I’m not sure. Lots of things could be happening. But you’re having an installation issue while running a version of Node that is not recommended by the Ionic documentation. So it seems to me that step 1 is to conform to the documentation and see whether the problem persists.
Yes, I reinstall NodeJS with version of latest 6.9.2. And all things no changed.
Your system information:
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.4
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.9
Ionic App Scripts Version: 0.0.47
ios-deploy version: 1.9.0
ios-sim version: 5.0.13
OS: OS X Yosemite
Node Version: v6.9.2
Xcode version: Xcode 6.4 Build version 6E35b
# ionic run browser -lcs
Livereload stopped here when detected changes:
# [23:31:38] build started …
Update:
I update my nodejs to latest 6.9.2, now the log info became…
[09:03:40] build started …
(node:13768) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property ‘send’ of undefined
Stoped here.
There are some possible workarounds for that here, though the thread is about Ubuntu:
If you didn’t delete your node_modules folder manually when you reinstalled npm, that’s the first thing I’d suggest. That saved me a lot of grief one time. (This is also mentioned in the thread.)
Try to remove and reinstall node_module, update app-script to latest 0.48, all of them no help.