Search This Blog

Sunday, March 31, 2019

City - Autocomplete JQuery Bootstrap4

City.php

Search.php


Tuesday, March 19, 2019

Remove PostCSS warning IONIC

Try this

find sass.js file. under /node_modules/@ionic/app-scripts/dist/sass.js
find var postcssOptions and add from: undefined,

Finally should be like this:
var postcssOptions = {
from: undefined,
to: path_1.basename(sassConfig.outFile),
map: autoPrefixerMapOptions
};

Ionic Cordova - spawn EACCES [SOLVED]

While building ionic app I was struck here

JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/HomeError:
spawn EACCES


and solution is simple

This is the command that finally fixed it for MY configuration
sudo chmod 777 “/Applications/Android Studio.app/Contents/gradle/gradle-4.1/bin/gradle”
Note the space in 'Android Studio'

What is the root problem? I don't know. I do know that I recently downloaded the new android studio 3 and then this started being a problem. It probably is something to do with the 'gradle-4.1'.

On a lot of other threads that contain this same issue there is someone strongly advising against just 'chmod'ing random folders, and I see his point, but I tried everything else.

OSX JAVA_HOME openjdk-11.0.2.jdk Error Requirements check failed for JDK 1.8 or greater

1.Remove all the Java related packages (Sun, Oracle, OpenJDK, IcedTea plugins, GIJ):



2.Purge config files (careful. This command removed libsgutils2-2 and virtualbox config files too):


3.Remove Java config and cache directory:



4.Remove manually installed JVMs:



5.Remove Java entries, if there is still any, from the alternatives:



done

6.Search for possible remaining Java directories:



7.Install JAVA-8-SDK



8.Open





Try to run your ionic app again :) Njoy!

content-wide advt