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

Ionic directives VS Angular material directives with Ionic Framework

I found a material design CSS framework known as Materializecss. It looks promising. It’s just plain CSS and javascript framework. http://materializecss.com/ Advantages over other frameworks Pure CSS classes, will not conflict with ionic directives. No performance loss. Of all the frameworks I have seen, this is the only one closely following material design rules Almost … Read more

ionic build Android | error: No installed build tools found. Please install the Android build tools

I fix this by downloading sdk package called platform-tools and buid-tools using sdkmanager. You can use sdkmanager.exe or if you are using SDK CLI, go to ~\AppData\Local\Android\sdk\tools\bin and run this command: sdkmanager “platform-tools” “platforms;android-26” or sdkmanager “build-tools;27.0.3” or both After that you should be able to run ionic cordova run android or ionic build android. … Read more

Failed to find ‘ANDROID_HOME’ environment variable

You may want to confirm that your development environment has been set correctly. Quoting from spring.io: Set up the Android development environment Before you can build Android applications, you must install the Android SDK. Installing the Android SDK also installs the AVD Manager, a graphical user interface for creating and managing Android Virtual Devices (AVDs). … Read more

Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK – Android

Edit 3: Cordova Android 6.2.2 has been released and it’s fully compatible with SDK tools 26.0.x and 25.3.1. Use this version: cordova platform update android@6.2.2 or cordova platform rm android cordova platform add android@6.2.2 Edit 2: There has been another Android SDK tools release (26.0.x) that is not fully compatible with cordova-android 6.2.1. Edit: Cordova … Read more

How to display the app version in Angular?

If you want to use/show the version number in your angular app please do the following: Prerequisites: Angular file and folder structure created via Angular CLI Steps for Angular 6.1 (TS 2.9+) till Angular 11 In your /tsconfig.json (sometimes also necessary in /src/tsconfig.app.json) enable the following option (webpack dev server restart required afterwards): “compilerOptions”: { … Read more

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