Techy Things

code: 'ERR_OSSL_EVP_UNSUPPORTED' error:0308010C:digital envelope routines::unsupported 0

code: 'ERR_OSSL_EVP_UNSUPPORTED' error:0308010C:digital envelope routines::unsupported

Starting the development server... C:\dev\react-scss-jest-typescript\node_modules\react-scripts\scripts\start.js:19 throw err; ^ Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:69:19) at Object.createHash (node:crypto:133:10) at module.exports (C:\dev\react-scss-jest-typescript\node_modules\webpack\lib\util\createHash.js:135:53) at NormalModule._initBuildHash (C:\dev\react-scss-jest-typescript\node_modules\webpack\lib\NormalModule.js:417:16) at C:\dev\react-scss-jest-typescript\node_modules\webpack\lib\NormalModule.js:452:10 at C:\dev\react-scss-jest-typescript\node_modules\webpack\lib\NormalModule.js:323:13 at C:\dev\react-scss-jest-typescript\node_modules\loader-runner\lib\LoaderRunner.js:367:11 at C:\dev\react-scss-jest-typescript\node_modules\loader-runner\lib\LoaderRunner.js:233:18 at...

ValueError: invalid mode: 'rU' while trying to load binding.gyp 0

ValueError: invalid mode: 'rU' while trying to load binding.gyp

Traceback (most recent call last): File "C:\dev\react-scss-jest-typescript\node_modules\node-gyp\gyp\gyp_main.py", line 51, in <module> sys.exit(gyp.script_main()) ^^^^^^^^^^^^^^^^^ File "C:\dev\react-scss-jest-typescript\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 670, in script_main return main(sys.argv[1:]) ^^^^^^^^^^^^^^^^^^ File "C:\dev\react-scss-jest-typescript\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 662, in main return gyp_main(args) ^^^^^^^^^^^^^^ File "C:\dev\react-scss-jest-typescript\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line...

ModuleNotFoundError: No module named 'distutils' 0

ModuleNotFoundError: No module named 'distutils'

from distutils.version import StrictVersion ModuleNotFoundError: No module named 'distutils' gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 Solution $ pip install setuptools Why? Because distutils was removed as...

E: You must put some 'deb-src' URIs in your sources.list 0

E: You must put some 'deb-src' URIs in your sources.list

pi@pi5:~/wf-panel-pi $ sudo apt build-dep wf-panel-pi Reading package lists... Done E: You must put some 'deb-src' URIs in your sources.list   Solution Uncomment the three lines in /etc/apt/sources.list deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware...

TS2786: 'Button' cannot be used as a JSX component 0

TS2786: 'Button' cannot be used as a JSX component

When upgrading from react-scripts 4.X to 5.X Compiled with problems: × ERROR in src/App.tsx:51:10 TS2786: 'Button' cannot be used as a JSX component. Its return type 'ReactElement<any, string | JSXElementConstructor<any>> | null' is not...

git diff with file pattern exclusion 0

git diff with file pattern exclusion

git diff <old-commit-hash> <new-commit-hash> ':(exclude)*.mdx' > diff.txt Example git diff 0022768e94766161a0c960e216e4afa26e34d66d 53b20cab480e20b4f6cad2e4795d36166eb6bf19 ':(exclude)*.mdx' > diff.txt

React reload empty iframe cannot click anywhere 0

React reload empty iframe cannot click anywhere

https://stackoverflow.com/questions/70357360/process-is-not-defined-on-hot-reload Solution Add react-error-overlay 6.0.9 to "resolution" in package.json L "resolutions": { (...) "react-error-overlay": "6.0.9" },