Possible to downgrade app-scripts version?

Hi all,

we have some massive problems with app-scripts version 0.0.43 (e.g. serve either not working at all or never showing a console to command to web server) but have some running projects with 0.0.38.

Is it possible to downgrade?

Thanks and cheers,

Yes you can, in package.json change the version of @ionic/app-scripts to the 0.0.38 without the symbol “^”.
Like this :
"@ionic/app-scripts": "0.0.38"

Then remove your app-script from node modules (or remove the entire node_modules folder) then run npm install

1 Like

Thanks so much! Worked like a charm!

However, did not solve the problem with missing prompt after running “ionic serve” ;(

Thanks!!! it helped me a lot!

Hi… I am trying to install “@ionic/app-scripts”: “2.1.4” from package.json by using npm instal command. but everytime i get this error:

node-sass@4.5.3 install C:\Users\ssr\Documents\Manu\master\ButtonApp\node_modules\node-sass
node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.5.3/win32-x64-72_binding.node
Cannot download “https://github.com/sass/node-sass/releases/download/v4.5.3/win32-x64-72_binding.node”:

HTTP error 404 Not Found

Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.

  export HTTP_PROXY=http://example.com:1234

or configure npm proxy via

  npm config set proxy http://example.com:8080

NOTE: I am not under any proxy!!!
If i install the latest version…it gets installed smoothly…
Can you please help… Its very Urgent!!
Thanks in advance!!