-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
Bug: Ionic serve failed to load (typescript 0.0.47 and 0.0.48) #9723
Comments
It looks like you have an unhandled promise rejection in your code. Try looking for the usage of the |
It was a fresh project downloaded (ionic start myApp blank --v2 --ts), and the only thing I changed was the home.html file with some basic text. What I observed is that current fresh 'blank' projects loaded uses the (0.0.47 typescript), which all this while whenever I download a new project previously, the console prompts me I'm using 0.0.45 typescript, which runs perfectly well on my current install of ionic CLI 2.1.8, with nodejs 6.9.1. Could it be possible that the starter files using typesript 0.0.47 on the repo has bugs or are broken, or incompatible with my current ionic + nodejs install? Appreciate further advise here. Thank you. |
Could you please update to ionic-app-scripts version 0.0.48 and probably also share |
The problem persists though I installed the latest app-script (0.0.48). When I update home.html, the error in bold further below shows up. Any advise? My ionic info Ionic Framework Version: 2.0.0-rc.4 When I run ionic serve and update home.html
[18:12:30] ionic-app-scripts 0.0.48 [18:14:03] build started ... |
Which version of typescript are you using? Also please ensure you have latest ionic cli installed.
|
Within my package.json dependencies, it states "typescript": "2.0.9". |
Now everything just broke Having done the following:
Nothing compiles now, with the below output error: |
@thinktinker : seems like your ionic latest update was not installed successfully. Please try running command |
Have been doing this for one whole night. |
This issue was moved to ionic-team/ionic-app-scripts#599 |
Hi jgw96. Is this issue fixed? |
Hello @thinktinker . So I closed this issue and moved it to the app-scripts repo which you can see the link to in my above comment. The reason for this move was because this issue is actually an app-scripts issue and not a framework issue. |
Thanks for the heads up @jgw96. |
I have the same issue.My @ionic/app-scripts version is 0.0.47. So,could you tell me how to change my @ionic/app-scripts version to 0.0.45 |
I have found my issue. I had changed the structure of directory when I add android platform. I had rename index.htm to main.html, and add another index.html.So,change it back.The ionic serve work well. |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Everytime I save a page, the page does not refresh in the web browser (ionic serve -all)
Looking at my terminal console, I get the following error.
UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): TypeError: Cannot read property 'send' of undefined
I'm using ionic 2.1.8 (typescript 0.0.47), node 6.9.1, running on ubuntu 16.04.
The text was updated successfully, but these errors were encountered: