Author Archives: ENB

[Mac Monterey / Brew] keep showing (using) wrong (old) version of NPM / Node – when trying to reinstall / link – say it’s already done!

Today I have quite funny experience, I tried update node & npm to newest version but i get information it is already installed.

brew unlink node && brew link node
Unlinking /usr/local/Cellar/node/17.4.0… 7 symlinks removed.
Linking /usr/local/Cellar/node/17.4.0… 7 symlinks created.

trying check version show wrong one

npm -v
6.14.15
node -v
v12.22.9

I tried everything, from uninstalling, brew cleanup, link, relink, overwrite – without success.

Solution, edit file (in homedirectory):

.zshrc

In content locate & remove line:

export PATH="/usr/local/opt/node@12/bin:$PATH"

After removing restart computer and confirm correct version of node

npm -v
8.3.1
node -v
v17.4.0

Mission successful

APT-GET An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.mysql.com/apt/ubuntu focal InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29

An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.mysql.com/apt/ubuntu focal InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29

Solution

sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 467B942D3A79BD29

If “467B942D3A79BD29” is different – just change it for value from error message.

Windows 98 USB Storage Driver (universal flash / pendrive )

Generic universal driver for all pendrives / flash storage devices.

Tested on Windows 98 SE

Windows 10 – can’t access network share on AirPort Time Capsule

Recently I have interesting issue of not being able to access my network shares on AirPort Time Capsule from Windows 10.

Pinging Time Capsule was successfull but trying access in file explorer (\\ip-address\untitled\share) cause unknown error.

Problem was caused by disabled SMB 1.0/CIFS File Sharing Support by default in Windows 10 that make it unable to connect. Reason of SMB being disabled is obsolete and have security issues but in my opinion this is not problem in trusted home network where all devices are our’s.

To enable support for SMB 1.0/CIFS File Sharing You need to open PowerShell with elevated permissions (run as administrator) and execute following command:

Enable-WindowsOptionalFeature -Online -FeatureName "SMB1Protocol" -All

Afrer restart You will be able to access Your Time Capsule shares.

MODEM SIERRA WIRELESS COMPASS 889 USB – DRIVERS & SOFTWARE (tested – working on Win 10 x64)

This device is quite obsolete and I have lot trouble finding correct working drivers. (on Win 10 drivers need to be installed from device manager – navigating to program files newly created directory.

Mac OSX – Laravel with Valet keep using wrong PHP version (8) instead of 7.4

Recently I have interesting problem with Valet using wrong PHP version on my Laravel application, trying to switch it from terminal not fix issue and stating it’s already done even including force relink.

valet use php@7.4 –force
Unlinking current version: php@7.4
Linking new version: php@7.4
Updating PHP configuration…
Restarting php@7.4…
Restarting nginx…
Valet is now using php@7.4.

Solution for this problem was using following command

rm ~/.config/valet/valet.sock

valet use php@7.4 –force

After that Valet use correct PHP version in my application.

[Laravel 8 / Horizon] – After publishing horizon assets /horizon dashboard show white or empty page without any errors

Solution – regenerate view cache (clear existing one):

php artisan view:clear

Motorola TRBOnet TextMessenger v1.0 – download

Here is Motorola TRBOnet TextMessenger v1.0 since Motorola removed old MotoTrbo page (it was available to free download) I upload it here.


Warning: Undefined array key 0 in /www/wwwroot/electronicnoobblog.com/wp-content/plugins/wp-google-analytics-scripts/wp-google-analytics-scripts.php on line 602