Ionic 2
app-scripts 1.2.2
After I updated ionic-app-scripts from 1.1.4 to the latest 1.2.2, ionic serve just hangs without any error message.
I tried setting up a new project with ionic start testIonic --v2 and experienced the same behavior.
@anton-white,
That seems strange to me. How can I recreate it?
Thanks,
Dan
@danbucholtz
$ npm list -g --depth=0
/usr/lib
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
ionic start testIonic --v2cd testIonicionic serveI can confirm the behavior, just hangs after ionic serve. (Ubuntu)
Me too on Ubuntu 16.04 desktop
I have downgraded the version of app-scripts to 1.1.4 with npm install @ionic/[email protected] --save-dev. Now it works
Man, that's cool :)
but if you look closer at my initial message:
After I updated ionic-app-scripts from 1.1.4 to the latest 1.2.2
This is the issue right now, there are few issues open at ionic-cli repo, the fix so far is to downgrade it back to 1.1.4 as suggested by @pawelkat. However, I think we are looking for the long term fix, which is fix in the latest script rather than downgrade.
@danbucholtz In order to recreate it, you just need to start a new project like before, and then navigate to the project folder and run the serve command
$ ionic start ionic2-blank blank --v2
$ cd ionic2-blank
$ ionic serve
My system info:
Cordova CLI: 6.5.0
Ionic Framework Version: 2.3.0
Ionic CLI Version: 2.2.2
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.2.2
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 4.9
Node Version: v6.10.0
Xcode version: Not installed
i have the same problem ... fix it with downgrading
npm install @ionic/[email protected] --save-dev
i have the same problem ... fix it with downgrading
npm install @ionic/[email protected] --save-dev
Are you all on linux? There is a known issue fixed in nightly for linux.
Thanks,
Dan
@danbucholtz no, windows 7
@ionic/[email protected] up all versions not working,
1.1.4 works
Hi there,
I was having the same issue as described above but with "npm run build", which was hanging on my Linux environment but working fine on macOS. In case somebody has the same issue, I can confirm that upgrading to the nightly build (1.2.2-201703281515 as of today) fixed the issue on Linux.
This should be working now with 1.2.3. Can you please let me know if it's not and I'll re-open.
Thanks,
Dan
@danbucholtz,
it's working now. Thanks a lot!
I still have this same problem and I tried many things but still,
my operating system is windows 8.
Most helpful comment
This should be working now with
1.2.3. Can you please let me know if it's not and I'll re-open.Thanks,
Dan