New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Cannot read property 'emit' of undefined after upgrade to 2.0.0 @ionic/cli-plugin-ionic1 #2437
Comments
Can you run the same command with |
@janpio Sure. as requested. ionic serve -b --address localhost --verbose [WARN] No write permissions for global node_modules--automatic CLI updates are disabled.
[INFO] Starting server: --nobrowser --b --address=localhost --log-level=debug --port=8100 --p=8100 --livereload-port=35729 --r=35729 - Ctrl+C to cancel |
@janpio After I have updated to ionic CLI to 3.4 this is resolved. global packages:
local packages:
System:
|
@janpio there is still one issue. My initial project does not reload the browser, whereas the baseline project does. I have checked package.json and everything seems to be same. Can you help to shed some light on this? |
That sounds more like an issue for the forum at https://forum.ionicframework.com/, not the issues of the CLI. |
After I upgraded my project to @ionic/cli-plugin-ionic1 2.0.0 (latest), I am facing with following issue:
ionic serve -b --address localhost
[INFO] Starting server: --nobrowser --b --address=localhost --port=8100 --p=8100 --livereload-port=35729 --r=35729 - Ctrl+C to cancel
TypeError: Cannot read property 'emit' of undefined
But this is also happening for a new baseline project
Steps to reproduce
Also, when I reverted back to @1.3.0 my live reload stop working.
global packages:
local packages:
System:
The text was updated successfully, but these errors were encountered: