Build fails when using app-scripts version 1.2.0 on Linux. Output shows a stalled build for more than 10 mins. without any output log. On macOS build is ok.
Not stalled build.
Steps to reproduce:
ionic-app-scripts build
Which @ionic/app-scripts version are you using?
1.2.0
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Tested with Linux inside Docker container with the following configuration:
Cordova CLI: 6.5.0
Ionic Framework Version: 2.3.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.2.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 4.9
Node Version: v7.5.0
Xcode version: Not installed
It doesn't do anything with any command for me, I've tried clean and serve too but same issue, no output, not any response, but the script appears to be running.
Hmm. Can you try again in 1.2.1?
Thanks,
Dan
With 1.2.1 builds are still failing in Linux (in macOS everything builds and runs ok).
Now the output log shows the following and then stalls from more than 10 mins.:
ionic-app-scripts build "--device" "--prod" "--release"
same here with linux and 1.2.1
With 1.2.1 clean and run are still failing for me. There is not any output. Should I file a new bug? since this one seems to be fixed on builds, but the problem is quite similar "app-scripts does not do anything"
Reverting to 1.1.4 definitely resolved the issue for me, which is consistent with the guys above. Also experiencing no ouptut, Ubuntu 16.04.2, Node v7
@ionic/[email protected] sass <...>/node_modules/@ionic/app-scripts
> node-sass ./src/dev-client/sass/ion-dev.scss --output ./bin/ --output-style compressed
No input file was found.
Why is it looking for source files? src/ should not even be in the module directory?
Looks like its b4c287a494ded6b151e965e32e3e7cb9373c2f21
In linux we can only use max. 1 arg here, the '=' sign in it makes it just hang here instead of returning an error.
Removing the param from the shebang makes it work for me.
@jorrit-wehelp,
Wanna do a PR and remove that code?
Thanks,
Dan
still hanging at the same spot
same here with linux and 1.2.2
It's fixed in nightly. npm install @ionic/app-scripts@nightly.
Thanks,
Dan
Most helpful comment
It's fixed in
nightly.npm install @ionic/app-scripts@nightly.Thanks,
Dan