mac vscode ELECTRON RUN AS NODE launch error - macos

After updating to the latest mac mojave (10.14.6) version, unable to launch vscode
getting the below error on trying to open from command line,
icudtl.dat not found in bundle[1011/104233.100549:ERROR:icu_util.cc(136)] icudtl.dat not found in bundle
ELECTRON_RUN_AS_NODE=1

Reinstall the latest version of VS Code, if you are using brew update using brew command
use
brew cask upgrade visual-studio-code

Related

Mac (M1 Monterey) cant open application Reactotron using dmg install

After downloading Reactotron (v2.17.1), I am getting a Mac error The application "Reactotron" can't be opened.
I was able to get it to install and run using homebrew with:
brew install --cask reactotron
Thanks to the Reactotron help forum.

why can't I install watchman using brew command?

I'm trying to run a react native app and I've been told I need to download "watchman".
When I tried to run the command brew install watchman it gave this error:
Error: The following formula cannot be installed from bottle and must be
built from source.
python#3.9
Install the Command Line Tools for Xcode 11.3.1 from:
https://developer.apple.com/download/more/
Do I need to install Xcode or I'm just missing something? Is there any easier way to install watchman?
Thank you in advance.
If you don't mind, you can try installing directly from Facebook's Homebrew Tap:
brew tap facebook/fb
brew update
brew install facebook/fb/watchman

Installing gedit with Homebrew on Mac OSX Sierra

I am trying to install gedit on Mac OSX Sierra 10.12.6.
Using brew install gedit it runs through the whole process with a few warnings and errors, including finishing with
Error: You are using macOS 10.12.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this old version.
I also tried brew cask install gedit but the error is Error: Cask 'gedit' is unavailable: No Cask with this name exists. Did you mean “ssh-config-editor”?
Is there a way of installing a version of Gedit for Mac OSX Sierra? I read the cask option would work for Sierra. I realise some functions won't work but hopefully for what I am using for I won't need those.

Install qwebengine on mac

I'm using qwebengine in my Qt5 program.
I use this command to install qt on my travis-ci env:
HOMEBREW_NO_AUTO_UPDATE=1 brew install qt5 qt5-qtwebengine --verbose; fi
However it tells me: Error: No available formula with the name "qt5-qtwebengine"
How to instaall qtwebengine properly by brew?
The fix was patched in two weeks ago and you will need to brew update before you brew install qt

Lion (10.7) Not supporting Convert(1). Dylib error

When trying to use convert(1), I get the following error:
dyld: Library not loaded: /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libclparser.dylib
Referenced from: /usr/local/bin/convert
Reason: image not found
Trace/BPT trap: 5
Any idea how I could fix it ?
I was getting this error as well–with a homebrew install of ImageMagick. Along the same lines as Pascal, I fixed it with
Install XCode 4.1 (from the App Store)
In Xcode, go to Xcode > Preferences... > Downloads tab > click Install next to Command Line Tools
Uninstall ImageMagick with brew uninstall imagemagick
Update homebrew with brew update
Install latest homebrew with brew install imagemagick
Run brew doctor and delete any of the *.la and *.a files listed if step 4 fails on make install
I got the same error and what solved the problem for me was:
Install the latest XCode version from the Mac Appstore
Install ImageMagick using Macports (sudo port install imagemagick)
Both steps took a while, but in the end ImageMagick worked fine again.
I installed xcode but had some issue with macports. Bummer!
I copied the libclparser.dylib file over from an old backup of 10.6, changed the permissions to match the other files in that folder and it worked!
Also see here:
https://stackoverflow.com/questions/6674666/installing-imagemagick-leads-to-weird-error-involving-opencl
Edit:
I found this, which may be useful: http://cactuslab.com/imagemagick/
Also, the file is here: http://www.workdreamer.com/uploads/libclparser.dylib
Reinstalling it even with brew instead of macports didn't work for me. Copying it did.
Try the following command:
brew doctor
to diagnose the common problems.
One of it could be removing DYLD_FALLBACK_LIBRARY_PATH variable from your ~/.profile
Or you have to re-install libtool by:
brew reinstall libtool --universal && brew unlink libtool && brew link libtool

Resources