when trying to compile a sass file, I get this error :
NoMethodError: undefined method `empty?' for nil:NilClass
Use --trace for backtrace.
Anyone can help?
LiveReload : 2.3.5
Mac OS : 10.9.1
Thanks
Related
Installed Puppeteer using the command : npm install puppeteer
OS : CentOs7 3.10.0-693.11.6.el7.x86_64
When I tried to run the file, I am getting the following error
(node:14216) UnhandledPromiseRejectionWarning: Error: Failed to launch the browser process!
/opt/xyz/node-v14.16.0-linux-x64/lib/node_modules/npm/node_modules/puppeteer/.local-chromium/linux-856583/chrome-linux/chrome: error while loading shared libraries: libxkbcommon.so.0: cannot open shared object file: No such file or directory
How to solve this error ?
It says what is missing:
error while loading shared libraries: libxkbcommon.so.0
You need to have the library on your system. It seems this is the one, you might be able to install it with your package manager:
# yum install libxkbcommon-x11
I am trying to install MySQL source code in Linux system and ended up with this error while executing cmake ..
CMake Error at /usr/share/cmake-3.5/Modules/TestBigEndian.cmake:51 (message):
no suitable type found
Call Stack (most recent call first):
configure.cmake:400 (TEST_BIG_ENDIAN)
CMakeLists.txt:1015 (INCLUDE)
I am new to this. How can I resolve this error?
Here is my config:
CMake version - 3.5.1
GCC version - 5.4.0
ubuntu - 16.4.11(64 bit)
Link to my CMakeError.log file
https://drive.google.com/open?id=1NzMRvXsJE-YMDDuW32lkdi0IvY3MfJXf
When I run my command:
gulp build
I get the error:
[13:28:52] Requiring external module babel-register
node_modules/nan
resolve failed for "caniuse-db": Error: Cannot find module 'caniuse-db'
resolve failed for "babel-runtime": Error: Cannot find module 'babel-runtime'
This seems to happen after I changed my preset in my .babelrc from es2015 to es2015-loose.
The stacktraces on this GitHub issue seem very similar to yours... They resolved the issue by switching from the es2015-loose preset to the es2015 preset with the loose option:
["es2015", { "loose": true }]
I use jhipster and i have this error in gulp task ?
Error in plugin 'run-sequence'
Message:
An error occured in task 'ngconstant:prod'.
any ideas?
Thanks.
Try below command :
npm install --save run-sequence
Hope this will work!!
After I updated to ubuntu 12.10, I started getting this error:
NoMethodError: undefined method `init' for Mysql:Class
I am using the mysql adapter.
% gem install mysql
solved the problem. Note that this gem was installed already even before I updated the ubuntu version but somehow the setup got messed up in the update.