Archive for the ‘ Miscellaneous ’ Category
This is mostly a reminder for me. When publishing a new version on your Openshift environment a
npm install is run by default. However you can configure it to install only the modules under dependencies in your
package.json file instead of installing both dependencies and devDependencies modules.
I had this error on a reboot on Ubuntu 16.04 after uninstalling VirtualBox using:
sudo apt-get remove virtualbox-\* sudo apt-get purge virtualbox-\*
In order to fix it I had to:
I come over this little issue while downgrading my MySQL version. The fix is so concise it’s worth sharing:
systemctl unmask mysql.service service mysql start
Packaging app for platform win32 ia32 using electron v0.37.7 spawn wine ENOENT
spawn wine ENOENT error means you don’t have wine installed.
Follow this guide to install and configure Wine correctly.
To solve this:
nano ~/.gemrc in your terminal.
2. Add the following line
gem: -n/usr/local/bin to the empty file. (CMD + V)
3. Save (CTRL + 0) and quit (CTRL + X)
Try again installing your gem 🙂
Are you trying to install sass or other gems and your OS X El Crappytan is giving your troubles?
sudo gem install sass ERROR: While executing gem ... (Errno::EPERM) Operation not permitted - /usr/bin/sass
sudo gem install -n /usr/local/bin sass and that’s fixed.
Of course it works with any other gem that encounter this problem.
Have a good day!
When dealing with fonts during the application build you can encounter many issues. In particular if you encountered this kind of errors:
Failed to decode downloaded font: ***.woff2
OTS parsing error: Failed to convert WOFF 2.0 font to SFNT
Failed to decode downloaded font: ***.woff
OTS parsing error: incorrect file size in WOFF header
Failed to decode downloaded font: ***.ttf
OTS parsing error: GSUB: table overruns end of file
That means you are having an hard time with your fonts.
First let’s try to identify the source of the problem.
- Even if you are not using Webpack you can encounter this issue because of Git converting your font into text files. Ensure your
.gitattributesfiles contains these binary declarations:
*.ttf binary *.eot binary *.woff binary *.woff2 binary
- If you are using Webpack then try to switch from
file-loaderas explained in this article.
- If nothing works and you are using Webpack, check-out how you are importing the fonts. In my case I have downloaded “Material Design icons” myself and imported them using:
import '../resources/iconfont/MaterialIcons-Regular.eot'; import '../resources/iconfont/MaterialIcons-Regular.svg'; import '../resources/iconfont/MaterialIcons-Regular.ttf'; import '../resources/iconfont/MaterialIcons-Regular.woff'; import '../resources/iconfont/material-icons.css';
However it was necessary to install the as an npm package
npm install material-design-icons --save
and then import them into my
Webpack was now able to process the fonts properly.
Hope these suggestions helped since this issue can be a real pain.
Have a good day!
Doing a simple
bower install ionic
cause Bower to install also “angular”, “angular-animate”, “angular-ui-router” and “angular-sanitize” dependencies.
This happens because Bower reads the
bower.json file of Ionic and find those modules listed under dependencies.
The product that we are working on is easy to explain from the marketing point of view:
Wakanda is an open-source platform that allows you to quickly and easily create applications that can be deployed on Web and mobile. – from Wakanda.io
Ok cool, the definition is sexy enough to catch your interest but developers don’t fall for these marketing lines easily: what does Wakanda intends with “quick” and “easily”? What are the technologies in game?