Add Custom Icon in Ionic 2

This is the easiest way I’ve found, from the forums at https://forum.ionicframework.com/t/anyway-to-custom-the-tabbars-icon-with-my-own-svg-file/46131/36. In your app.scss file, add the following code: ion-icon { &[class*=”appname-“] { // Instead of using the font-based icons // We’re applying SVG masks mask-size: contain; mask-position: 50% 50%; mask-repeat: no-repeat; background: currentColor; width: 1em; height: 1em; } // custom icons &[class*=”appname-customicon1”] { … Read more

How to fix ‘Unsupported platform for fsevents@1.2.9: wanted {“os”:”darwin”,”arch”:”any”} (current: {“os”:”win32″,”arch”:”x64″})

First, Run your command prompt or powershell as Administrator role. Then you’ll get avoided with PERMISSION ERROR. Second, Ignore npm audit fix. It only suggests you to renovate all of your package.json dependencies up-to-date. You should preserve the settings clarified in package.json. Third, If you’re working on ubuntu or OS X, you won’t face this … Read more

Error: Node Sass does not yet support your current environment: Windows 64-bit with false

This error message does not indicate a problem with Ionic, but rather with node-sass, which is specified to execute in your Gulp file. The node-sass error: Node Sass does not yet support your current environment indicates that the version of node-sass you are trying to run is not compatible with the version of node installed. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)